* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: rgb(12, 32, 39);
    background: linear-gradient(180deg, #ffffff 0%, rgba(220, 240, 245, 0.3) 100%);
    font-weight: 400;
    letter-spacing: -0.01em;
    scroll-behavior: smooth;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(200%) brightness(1.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(40, 103, 125, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.logo {
    font-family: 'Baumans', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgb(40, 103, 125);
    margin: 0;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: rgb(12, 32, 39);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: rgb(40, 103, 125);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgb(40, 103, 125);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: rgb(40, 103, 125);
    color: white !important;
    padding: 0.6rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    line-height: 1.2;
    min-width: 140px;
}

.cta-button:hover {
    background: rgb(12, 32, 39);
}

.cta-main {
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-sub {
    font-size: 0.65rem;
    opacity: 0.85;
    font-weight: 400;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgb(12, 32, 39) 0%, rgb(40, 103, 125) 50%, rgb(50, 130, 159) 100%);
    color: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
      radial-gradient(ellipse at 30% 20%, rgba(243, 156, 94, 0.15) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 80%, rgba(73, 161, 167, 0.12) 0%, transparent 50%),
      radial-gradient(ellipse at center, rgba(40, 103, 125, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: heroGradientShift 20s ease-in-out infinite;
}

.orb-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    animation: heroFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-badge {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    background: rgba(243, 156, 94, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: rgb(255, 218, 118);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(243, 156, 94, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-button {
    background: linear-gradient(135deg, rgb(243, 156, 94) 0%, rgb(230, 140, 75) 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(243, 156, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(243, 156, 94, 0.4);
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-button:hover::before {
    left: 100%;
}

.primary-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.secondary-button {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.secondary-button:hover {
    background: white;
    color: rgb(40, 103, 125);
}

.patent-lookup-button {
    background: linear-gradient(135deg, rgb(40, 103, 125) 0%, rgb(30, 83, 105) 100%);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(40, 103, 125, 0.3);
    position: relative;
    overflow: hidden;
}

.patent-lookup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 103, 125, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.patent-lookup-text {
    display: inline-block;
}

.patent-lookup-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(243, 156, 94) 0%, rgb(230, 140, 75) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.patent-lookup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.patent-lookup-button:hover::before {
    left: 100%;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgb(220, 240, 245);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: rgb(12, 32, 39);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(40, 103, 125, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-icon-svg {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 2rem auto;
    color: rgb(40, 103, 125);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 103, 125, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    border: 1px solid rgba(40, 103, 125, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-svg {
    background: rgba(40, 103, 125, 0.12);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(40, 103, 125, 0.2);
    border-color: rgba(40, 103, 125, 0.3);
}

.feature-icon-svg svg {
    width: 2.5rem;
    height: 2.5rem;
}

.security-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(40, 103, 125);
}

.feature-card p {
    color: rgb(12, 32, 39);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: #ffffff;
}

.screenshots-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.screenshot-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screenshot-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.click-hint {
    font-size: 0.8rem;
    color: rgb(40, 103, 125);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: rgb(255, 218, 118);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: rgb(12, 32, 39);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: rgb(12, 32, 39);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playwrite US Modern', cursive;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: rgb(12, 32, 39);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Baumans', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgb(66, 170, 207);
    display: flex;
    align-items: center;
}

.footer-logo-img {
    width: 26px;
    height: 26px;
    margin-right: 0.5rem;
}

.footer-brand p {
    color: rgb(200, 230, 240);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: rgb(200, 230, 240);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: rgb(66, 170, 207);
}

.footer-bottom {
    border-top: 1px solid rgb(40, 103, 125);
    padding-top: 1rem;
    text-align: center;
    color: rgb(200, 230, 240);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgb(66, 170, 207);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: rgb(100, 190, 230);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    position: relative;
    margin: 1% auto 3% auto;
    padding: 10px;
    width: 90%;
    max-width: 1200px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

#modal-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    order: -1;
}

.modal-info h3 {
    font-size: 1.25rem;
    color: rgb(12, 32, 39);
    margin-bottom: 0.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgb(40, 103, 125), rgb(73, 161, 167));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-info p {
    color: rgb(40, 103, 125);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

.scroll-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(40, 103, 125, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2002;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.scroll-indicator.show {
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 5px;
    }

    #modal-image {
        max-height: 60vh;
    }

    .modal-info {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .modal-info h3 {
        font-size: 1.1rem;
    }

    .modal-info p {
        font-size: 0.85rem;
    }

    .modal-close {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

/* Advanced Animations */
@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroGradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes floatingElement {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Enhanced Typography */
.hero h1 {
    font-family: 'Playwrite US Modern', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    animation: heroFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    animation: heroFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Premium Glass Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(40, 103, 125, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(40, 103, 125, 0.3);
}

.feature-card h3 {
    font-family: 'Playwrite US Modern', cursive;
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: rgb(40, 103, 125);
    letter-spacing: 0.01em;
}

.feature-card p {
    color: rgb(12, 32, 39);
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.9;
}

/* Professional Micro-interactions */
.primary-button {
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow:
        0 8px 25px rgba(243, 156, 94, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.primary-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.primary-button:hover::after {
    width: 300px;
    height: 300px;
}

/* Floating Animation for Icons */
.feature-icon-svg {
    animation: floatingElement 6s ease-in-out infinite;
}

/* Enhanced Screenshot Gallery */
.screenshots {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(220, 240, 245, 0.3) 0%, #ffffff 50%, rgba(220, 240, 245, 0.2) 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.screenshot-item {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 103, 125, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item:hover::before {
    opacity: 1;
}

.screenshot-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(40, 103, 125, 0.1);
    border-color: rgba(40, 103, 125, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        transparent 80%
    );
    backdrop-filter: blur(15px);
    color: white;
    padding: 1.5rem;
    transform: translateY(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 60%,
        transparent 100%
    );
}

.screenshot-overlay h3 {
    font-family: 'Playwrite US Modern', cursive;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.screenshot-overlay p {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
    margin-bottom: 0;
}


/* Premium Modal Design */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    overflow-y: auto;
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    margin: 3% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    width: 90%;
    max-width: 1200px;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    color: rgba(255, 255, 255, 0.9);
    float: right;
    font-size: 2rem;
    font-weight: 300;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.9);
    color: rgb(12, 32, 39);
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2rem 2rem 0 0;
}

.modal-info {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.modal-info h2 {
    font-family: 'Playwrite US Modern', cursive;
    color: rgb(40, 103, 125);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.modal-info p {
    color: rgb(12, 32, 39);
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* Premium Layout Optimizations */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Playwrite US Modern', cursive;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 4rem;
    color: rgb(12, 32, 39);
    letter-spacing: 0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgb(243, 156, 94), rgb(73, 161, 167));
    border-radius: 2px;
}

.features {
    padding: 7rem 0;
    background: linear-gradient(
        180deg,
        rgba(220, 240, 245, 0.4) 0%,
        rgba(220, 240, 245, 0.2) 50%,
        rgba(220, 240, 245, 0.3) 100%
    );
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
        min-height: 75vh;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 2rem;
    }

    .features {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .screenshots {
        padding: 4rem 0;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-info {
        padding: 2rem 1.5rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Security Section */
.security {
    padding: 7rem 0;
    background: linear-gradient(
        135deg,
        rgba(12, 32, 39, 0.05) 0%,
        rgba(40, 103, 125, 0.08) 50%,
        rgba(73, 161, 167, 0.05) 100%
    );
}

.security-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(12, 32, 39, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.security-demo {
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.encryption-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.security-step {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1.5rem;
    border: 1px solid rgba(40, 103, 125, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.security-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


.security-step h3 {
    font-family: 'Playwrite US Modern', cursive;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgb(40, 103, 125);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.message-container {
    min-height: 140px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.security-message {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid;
    min-height: 100px;
    display: block;
    text-align: left;
    transition: all 0.3s ease;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.security-message.plaintext {
    background: rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.3);
    color: rgb(27, 94, 32);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.security-message.encrypted {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: rgb(183, 28, 28);
    letter-spacing: 0.1em;
}

.transmission-animation {
    position: relative;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.transmission-packet {
    width: 50px;
    height: 25px;
    background: linear-gradient(90deg, rgb(40, 103, 125), rgb(73, 161, 167));
    border-radius: 12px;
    position: absolute;
    left: -60px;
    opacity: 0;
    box-shadow: 0 0 20px rgba(40, 103, 125, 0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.transmission-packet.transmitting {
    animation: transmitPacket 2s ease-in-out forwards;
}

@keyframes transmitPacket {
    0% {
        left: -60px;
        opacity: 0;
        transform: scale(0.7);
    }
    15% {
        opacity: 1;
        transform: scale(1);
    }
    85% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        left: calc(100% + 60px);
        opacity: 0;
        transform: scale(0.7);
    }
}

.security-message.decrypted {
    background: rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.3);
    color: rgb(27, 94, 32);
}

.send-message-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(40, 103, 125, 0.9) 0%, rgba(73, 161, 167, 0.9) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-family: inherit;
}

.send-message-btn:hover {
    background: linear-gradient(135deg, rgba(32, 82, 100, 0.95) 0%, rgba(58, 129, 134, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.send-message-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.send-message-btn svg {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.send-message-btn:hover svg {
    transform: rotate(90deg) translateX(2px);
}

.send-message-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.security-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 80px;
    justify-content: center;
}

.transmission-label {
    font-size: 0.8rem;
    color: rgb(40, 103, 125);
    font-weight: 600;
    white-space: nowrap;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.demo-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.demo-button:hover .button-icon {
    transform: scale(1.2);
}

.button-icon {
    transition: transform 0.3s ease;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.security-feature {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.security-feature h3 {
    font-family: 'Playwrite US Modern', cursive;
    font-size: 1.3rem;
    font-weight: 300;
    color: rgb(40, 103, 125);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.security-feature p {
    color: rgb(12, 32, 39);
    line-height: 1.6;
    opacity: 0.9;
}

/* Encryption Animation Classes */
.scrambled {
    color: rgb(244, 67, 54) !important;
    font-weight: bold;
}

.revealing {
    color: rgb(46, 125, 50) !important;
    font-weight: bold;
}

/* Responsive Design for Security Section */
@media (max-width: 768px) {
    .encryption-flow {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .security-arrow {
        min-height: 60px;
    }

    .transmission-animation {
        height: 40px;
    }

    .transmission-packet {
        width: 40px;
        height: 20px;
    }

    .security-demo {
        padding: 2rem 1.5rem;
    }

    .security-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

}

/* Dark mode support preparation */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: rgb(240, 248, 255);
        --text-secondary: rgba(240, 248, 255, 0.8);
        --bg-primary: rgb(12, 32, 39);
        --bg-secondary: rgb(20, 40, 50);
    }
}