:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(79, 70, 229, 0.1);
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: 'IBM Plex Serif', serif;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 8rem 2rem 6rem;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 40 L40 0" stroke="rgba(79, 70, 229, 0.03)" stroke-width="1" fill="none"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.2);
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Trust Badges */
.trust-badges {
    padding: 3rem 2rem;
    background: white;
    border-bottom: 1px solid var(--border);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.trust-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'IBM Plex Serif', serif;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 2rem;
    background: white;
}

.screenshots-grid {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 1rem 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
}

.screenshots-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshots-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.screenshots-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.screenshot-item {
    flex: 0 0 280px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Watch Section */
.watch-section {
    padding: 8rem 2rem;
    background: #000;
    color: white;
    position: relative;
    overflow: hidden;
}

.watch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.watch-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.watch-header h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.watch-header p {
    font-size: 1.25rem;
    color: #a5a5a5;
    max-width: 600px;
    margin: 0 auto 5rem;
    line-height: 1.6;
}

.watch-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.watch-item {
    width: 200px;
    transition: transform 0.4s ease;
}

.watch-frame {
    background: #1c1c1e;
    border-radius: 46px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    position: relative;
}

.watch-frame::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -4px;
    width: 4px;
    height: 30px;
    background: #333;
    border-radius: 2px;
}

.watch-screen {
    background: black;
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 1/1.2;
}

.watch-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watch-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.watch-item h4 {
    margin-top: 1.5rem;
    font-weight: 500;
    color: #fff;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .watch-grid {
        gap: 20px;
    }

    .watch-item {
        width: 160px;
    }
}

.download {
    padding: 8rem 2rem;
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.download h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.download p {
    font-size: 1.25rem;
    margin-bottom: 4rem;
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.web-access {
    display: block;
    text-align: center;
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.web-access:hover {
    color: white;
    text-decoration: underline;
}

.download-card {
    background: #111827;
    border-radius: 20px;
    padding: 3rem 2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
}

.qr-code {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
}

.qr-code canvas,
.qr-code img {
    width: 100% !important;
    height: 100% !important;
}

.download-links {
    width: 100%;
    margin-top: auto;
}

.download-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-badge:hover {
    background: white;
    color: #0f172a;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 400px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-options {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Language Switcher */
.lang-item a.lang-btn {
    background: var(--bg-light);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary) !important;
    border: 1px solid var(--border);
}

.lang-item a.lang-btn:hover {
    background: var(--primary);
    color: white !important;
}

/* Verification Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-overlay.active .popup-card {
    transform: translateY(0);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), #059669);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.popup-card h2 {
    font-family: 'IBM Plex Serif', serif;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.popup-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--text-dark);
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    top: -10px;
    border-radius: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}