:root {
    --primary: #4F46E5;
    --primary-dark: #4338ca;
    --secondary: #10B981;
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #4F46E5 0%, #8B5CF6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

.btn-secondary:hover {
    background: var(--light);
    border-color: var(--gray);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #EEF2FF;
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Browser Mockup */
.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
    background: #F1F5F9;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #EF4444;
}

.dot.yellow {
    background: #F59E0B;
}

.dot.green {
    background: #10B981;
}

.browser-content {
    height: 400px;
    display: flex;
    background: var(--white);
}

.ui-sidebar {
    width: 60px;
    border-right: 1px solid var(--gray-light);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-item {
    width: 100%;
    aspect-ratio: 1;
    background: #F1F5F9;
    border-radius: 8px;
}

.ui-item.active {
    background: var(--primary);
    opacity: 0.2;
}

.ui-main {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.ui-text-line {
    height: 12px;
    background: #F1F5F9;
    border-radius: 6px;
    width: 100%;
}

.ui-text-line:nth-child(1) {
    width: 90%;
}

.ui-text-line:nth-child(2) {
    width: 95%;
}

.ui-text-line:nth-child(3) {
    width: 85%;
}

.highlight-yellow {
    background: rgba(255, 255, 0, 0.4);
}

.highlight-blue {
    background: rgba(0, 200, 255, 0.3);
}

.ui-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 200px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.ui-card-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.ui-card-body {
    height: 40px;
    background: #F1F5F9;
    border-radius: 4px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.gallery-item {
    text-align: center;
}

.screenshot-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.125rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray);
    font-size: 0.875rem;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--gray-light);
    margin: 0 1rem;
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-line {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
}