/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 24px 48px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f5f0ff 0%, #f9f6ff 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7C3AED;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 40px 24px 80px;
    background: linear-gradient(180deg, #f9f6ff 0%, #f0ebfa 30%, #ece5f8 60%, #f5eff9 100%);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto 60px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 40%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a4a5a;
    margin-bottom: 36px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 50%, #A855F7 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.hero-image-wrapper {
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(255, 255, 255, 0.6);
}

.hero-image {
    width: 100%;
    display: block;
    border-radius: 18px;
}

.ar-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.ar-badge.pulse {
    transform: scale(1.03);
}

.sparkle {
    font-size: 1rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 24px;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 400;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.icon-blue-cyan {
    background: linear-gradient(135deg, #06B6D4, #3B82F6);
    color: #ffffff;
}

.icon-purple {
    background: linear-gradient(135deg, #A855F7, #7C3AED);
    color: #ffffff;
}

.icon-pink {
    background: linear-gradient(135deg, #EC4899, #F43F5E);
    color: #ffffff;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ===== SEE THE MAGIC ===== */
.magic-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, #f9f6ff 0%, #f0ebfa 50%, #fdf2f8 100%);
}

.magic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.magic-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.magic-description {
    font-size: 1rem;
    color: #4a4a5a;
    line-height: 1.7;
    margin-bottom: 32px;
}

.magic-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.magic-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-purple {
    background: #7C3AED;
}

.dot-blue {
    background: #3B82F6;
}

.dot-pink {
    background: #EC4899;
}

.magic-image-wrapper {
    position: relative;
}

.magic-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ===== WHY FLOWTRACE ===== */
.why-section {
    padding: 100px 24px;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 80px;
    max-width: 720px;
    margin: 0 auto;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-2px);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 32px;
    height: 32px;
}

.icon-bg-blue {
    background: #EEF2FF;
    color: #3B82F6;
}

.icon-bg-pink {
    background: #FDF2F8;
    color: #EC4899;
}

.icon-bg-purple {
    background: #F5F3FF;
    color: #7C3AED;
}

.icon-bg-navy {
    background: #EEF2FF;
    color: #334155;
}

.why-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 48px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-link {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #7C3AED;
}

.footer-copy {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .magic-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .magic-features {
        align-items: center;
    }

    .why-grid {
        gap: 40px 48px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 24px;
    }

    .hero {
        padding: 30px 20px 60px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav {
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .ar-badge {
        bottom: 12px;
        right: 12px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
