/* Reset & Variables */
:root {
    --primary: #6E38F7; /* Purple */
    --primary-hover: #5A27D6;
    --primary-light: #F1EAFD;
    --bg-white: #FFFFFF;
    --bg-light: #F7F8FC; /* Hero, Process, Footer */
    --bg-dark: #1C1D21; /* CTA black box */
    --text-main: #14161A;
    --text-muted: #5F6774;
    --border-color: #E2E6EF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-full: 9999px;
    --radius-xl: 20px;
    --radius-lg: 12px;
    
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* Utilities */
.text-purple {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-purple {
    background-color: var(--primary);
    color: #fff;
}
.btn-purple:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(110, 56, 247, 0.25);
}

.btn-dark {
    background-color: var(--text-main);
    color: #fff;
    padding: 12px 24px;
}
.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    padding: 14px 28px;
}
.btn-outline:hover {
    color: var(--primary);
}
.btn-outline .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-outline:hover .arrow {
    transform: translateX(4px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition);
}
.link-arrow .arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
}
.link-arrow:hover {
    color: var(--primary);
}
.link-arrow:hover .arrow {
    transform: translateX(4px);
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(247, 248, 252, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 230, 239, 0.4);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    margin: 0 auto;
}

.nav-links li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links li a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-login {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}
.nav-login:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
    z-index: 1100;
}
.mobile-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    left: 0;
    transition: 0.3s ease;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { bottom: 0; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }


/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(110, 56, 247, 0.3);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 5vw, 76px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-graphic canvas {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
}

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

.features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 450px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 10px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.fc-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.fc-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.fc-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.fc-line {
    width: 30px;
    height: 1px;
    background-color: var(--text-main);
    transition: width 0.3s ease;
}
.feature-card:hover .fc-line {
    width: 100%;
}


/* Process Section */
.process-section {
    padding: 120px 0;
}

.process-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.process-left {
    position: sticky;
    top: 150px;
    align-self: start;
}

.badge-small {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.process-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-card {
    display: flex;
    gap: 24px;
    position: relative;
    padding-left: 10px;
    opacity: 0.5;
    transition: var(--transition);
}
.step-card.highlight {
    opacity: 1;
}
.step-card:hover {
    opacity: 1;
}

.step-line-indicator {
    position: absolute;
    left: -1px;
    top: 0;
    bottom: -40px;
    width: 2px;
    background-color: var(--border-color);
}
.step-card:last-child .step-line-indicator {
    bottom: 0;
}
.step-card.highlight .step-line-indicator.highlight-line {
    background-color: var(--primary);
}

.step-num {
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-muted);
}
.step-card.highlight .step-num {
    color: var(--primary);
    font-weight: 500;
}

.step-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 16px;
}


/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background-color: #F1F3F8; /* slight gray */
}

.testimonials .section-title {
    margin-bottom: 60px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}

.test-quote {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 30px;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-title {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}


/* CTA Section */
.cta-section {
    padding: 80px 0 120px;
    background-color: #F1F3F8;
}

.cta-box {
    background-color: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    color: #fff;
}

.cta-title {
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.cta-desc {
    color: #A1A5AE;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-dark-outline {
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 28px;
}
.btn-dark-outline:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-col h4 {
    font-size: 12px;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.link-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
}
.link-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Scroll Animations */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .process-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .process-left {
        position: static;
        text-align: center;
    }
    .process-left p {
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 30px;
        text-align: center;
    }

    .nav-menu.active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0;
    }
    
    .features-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .cta-box {
        padding: 60px 30px;
    }
    .cta-actions {
        flex-direction: column;
    }
    .hero-graphic {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 26px;
    }
    .cta-box {
        padding: 40px 20px;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.modal-close:hover {
    color: var(--text-main);
}

.modal-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    transition: var(--transition);
}
.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(110, 56, 247, 0.1);
}
