* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #7c3aed;
    --purple-dark: #6d28d9;
    --purple-deeper: #5b21b6;
    --purple-light: #ede9fe;
    --purple-soft: #f5f3ff;
    --text: #1e1b4b;
    --text-secondary: #6b7280;
    --bg: #ffffff;
    --bg-soft: #faf8ff;
    --border: #e5e1f0;
    --radius: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Nav ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: transparent;
    /* transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); */
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: rgba(124, 58, 237, 0.1);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-btn {
    background: var(--purple) !important;
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 0;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--purple-dark) !important;
    transform: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: linear-gradient(160deg, #ffffff 0%, #f5f3ff 30%, #ede9fe 60%, #e0d4fc 100%);
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--purple);
    margin-bottom: 28px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.05);
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-content h1 em {
    font-style: italic;
    -webkit-text-stroke: 1.5px var(--purple);
    color: transparent;
}

.hero-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 440px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s;
}

.hero-cta span {
    transition: transform 0.3s;
}

.hero-cta:hover {
    background: var(--purple-dark);
}

.hero-cta:hover span {
    transform: translateX(4px);
}

.hero-mockup {
    display: flex;
    justify-content: center;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.mockup-main {
    border-radius: 8px;
    box-shadow: 0 40px 80px rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.mockup-float {
    position: absolute;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.mockup-card {
    bottom: -24px;
    left: -36px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.1);
    min-width: 170px;
}

.mockup-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mockup-card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-light);
    color: var(--purple);
    border-radius: 6px;
}

.mockup-card-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mockup-card-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
}

/* ── Section Common ── */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 72px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 0;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(124, 58, 237, 0.04);
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: var(--text);
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── How It Works ── */
.how-it-works {
    padding: 120px 60px;
    background: var(--bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 56px 36px;
    background: var(--bg-soft);
    position: relative;
    transition: background 0.4s;
}

.step-card:hover {
    background: var(--purple-light);
    transform: none;
    box-shadow: none;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    width: auto;
    height: auto;
    background: none;
    color: rgba(124, 58, 237, 0.08);
    border-radius: 0;
    font-weight: 900;
    font-size: 4rem;
    left: auto;
    transform: none;
    line-height: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 24px;
    color: var(--purple);
    opacity: 0.6;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Features ── */
.features {
    padding: 120px 60px;
    background: var(--purple-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: 0;
    border: none;
    transition: background 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
}

.feature-card:hover {
    background: var(--purple-light);
    transform: none;
    box-shadow: none;
}

.feature-card.highlight {
    grid-row: span 2;
    background: var(--purple);
    color: #fff;
}

.feature-card.highlight::after {
    display: none;
}

.feature-card.highlight .feature-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.feature-card.highlight h3 {
    color: #fff;
}

.feature-card.highlight p {
    color: rgba(255, 255, 255, 0.75);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-light);
    color: var(--purple);
    border-radius: 0;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.feature-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Gallery ── */
.gallery {
    padding: 120px 60px;
    background: var(--bg);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 16px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide {
    min-width: 200px;
    flex-shrink: 0;
}

.gallery-slide img {
    width: auto;
    height: 350px;
    border-radius: 4px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.06);
    object-fit: contain;
    justify-self: center;
    transition: transform 0.4s, box-shadow 0.4s;
}

.gallery-slide:hover img {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.slide-caption {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.gallery-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s;
}

.gallery-btn:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.gallery-btn svg {
    width: 18px;
    height: 18px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 0;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--purple);
    width: 32px;
}

/* ── Pricing ── */
.pricing {
    padding: 120px 60px;
    background: var(--purple-soft);
}

.pricing-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08);
}

.pricing-header {
    background: var(--purple);
    color: #fff;
    padding: 36px 32px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 16px;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    color: #fff;
}

.price span {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.6;
    vertical-align: super;
    margin-right: 4px;
}

.pricing-header>p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.pricing-body {
    padding: 20px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--purple);
    flex-shrink: 0;
}

.pricing-footnote {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 20px;
    background: var(--purple-soft);
    border: 1px solid var(--border);
    border-radius: 0;
    margin-bottom: 28px;
}

.pricing-cta a {
    display: block;
    text-align: center;
    padding: 18px;
    background: var(--purple);
    color: #fff;
    border-radius: 0;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.pricing-cta a:hover {
    background: var(--purple-dark);
    transform: none;
}

.comparison-note {
    max-width: 560px;
    margin: 28px auto 0;
    text-align: center;
}

.comparison-note p {
    font-size: 0.8rem;
    color: var(--purple-dark);
    background: var(--purple-light);
    padding: 16px 28px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    font-weight: 500;
    border-radius: 0;
}

/* ── Contact ── */
.contact {
    padding: 120px 60px;
    background: var(--text);
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #fff;
}

.contact>p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 56px;
}

.contact-methods {
    margin-bottom: 56px;
}

.contact-method a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c4b5fd;
    border-bottom: 2px solid #c4b5fd;
    padding-bottom: 2px;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: #ddd6fe;
}

.contact-method p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.process-steps {
    max-width: 480px;
    margin: 0 auto 56px;
    text-align: left;
}

.process-steps h3 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    color: #fff;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.process-step-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: var(--purple);
    color: #fff;
    border-radius: 0;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--purple-dark);
    transform: none;
    box-shadow: none;
}

/* ── Footer ── */
footer {
    padding: 32px 60px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

footer p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

footer a {
    color: var(--purple);
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    nav {
        padding: 14px 20px;
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .hamburger {
        order: 2;
        display: block;
    }

    .nav-links {
        order: 3;
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 16px 0 8px;
    }

    .nav-links.open {
        display: flex;
    }

    nav:has(.nav-links.open) {
        background: #fff;
        transition: none;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .nav-btn {
        margin-top: 8px;
        text-align: center;
        display: inline-block;
        padding: 10px 28px;
    }

    .hero {
        padding: 0 20px;
        min-height: 100vh;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: left;
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 0 32px;
    }

    .mockup-card {
        left: 0;
        bottom: -12px;
    }

    .how-it-works,
    .features,
    .gallery,
    .pricing,
    .contact {
        padding: 80px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.highlight {
        grid-row: auto;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .price {
        font-size: 2.6rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    footer {
        padding: 24px 20px;
    }
}