:root {
    --primary: #4F46E5;
    --primary-dark: #4338ca;
    --secondary: #10B981;
    --dark: #111827;
    --light: #F3F4F6;
    --gray: #6B7280;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F9FAFB;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    border-color: var(--gray);
    background-color: #F9FAFB;
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--gray);
}

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

.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #EEF2FF;
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #E0E7FF;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-stack {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.divider {
    color: #D1D5DB;
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    padding: 0.5rem;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.image-wrapper:hover {
    transform: rotateY(0) rotateX(0);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateY(-5deg) rotateX(2deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-5deg) rotateX(2deg);
    }

    100% {
        transform: translateY(0px) rotateY(-5deg) rotateX(2deg);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

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

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

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: #F9FAFB;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: #E5E7EB;
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #EEF2FF;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #F3F4F6;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #E5E7EB;
    transform: translateX(-50%);
    z-index: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.step-item.reverse {
    flex-direction: row-reverse;
}

.step-content,
.step-visual {
    flex: 1;
}

.step-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: #EEF2FF;
    position: absolute;
    top: -20px;
    right: 20px;
    line-height: 1;
    z-index: -1;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-features {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.step-features li {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    background-color: #EEF2FF;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Mock UI Elements for Visuals */
.mock-card {
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.mock-row:last-child {
    border-bottom: none;
}

.mock-avatar {
    width: 32px;
    height: 32px;
    background-color: #E0E7FF;
    border-radius: 50%;
}

.mock-status {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    background-color: #F3F4F6;
    color: var(--gray);
}

.mock-status.active {
    background-color: #D1FAE5;
    color: #065F46;
}

.mock-input {
    width: 100%;
    padding: 0.75rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.mock-btn {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.mock-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #E5E7EB;
}

.mock-badge {
    font-size: 0.7rem;
    background: #EEF2FF;
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
}

.mock-progress {
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.mock-bar {
    height: 100%;
    background: var(--secondary);
}

.mock-stat {
    font-size: 0.875rem;
    color: var(--gray);
}

@media (max-width: 968px) {
    .steps-container::before {
        left: 20px;
    }

    .step-item,
    .step-item.reverse {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-left: 50px;
    }

    .step-visual {
        width: 100%;
        justify-content: flex-start;
    }

    .visual-placeholder {
        max-width: 100%;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: #E0E7FF;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cta-btns .btn-primary {
    background-color: var(--white);
    color: var(--primary);
}

.cta-btns .btn-primary:hover {
    background-color: #F3F4F6;
}

.version-info {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid #E5E7EB;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.footer-col a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #F3F4F6;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .tech-stack {
        justify-content: center;
    }

    .image-wrapper {
        transform: none;
        animation: none;
    }

    .image-wrapper:hover {
        transform: none;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}