/* -------------------------------------------------------------
   Toy platform landing — wedding-style, premium.
   Mobile-first, dark warm palette, Cormorant Garamond + Inter.
   -------------------------------------------------------------- */

:root {
    --bg-dark: #0d0a08;
    --bg-section: #16110e;
    --bg-elev: #1e1812;
    --border: #2a211a;
    --accent-gold: #d4af37;
    --accent-gold-light: #e8c975;
    --accent-gold-deep: #8a6523;
    --cream: #f5ecd7;
    --text: #e8dcc5;
    --text-muted: #a89880;
    --text-faint: #6e5f4b;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-glow: 0 20px 60px rgba(212, 175, 55, 0.12);
    --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.5);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4,
.serif {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.005em;
    color: var(--cream);
}

a { color: var(--accent-gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-gold-light); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* -------------------- Hero -------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(107, 33, 95, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #0d0a08 0%, #16110e 100%);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.hero__ornament-top,
.hero__ornament-bot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
    z-index: 2;
}
.hero__ornament-top { top: 72px; }
.hero__ornament-bot { bottom: 100px; }
.hero__ornament-top::before,
.hero__ornament-bot::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    color: var(--accent-gold);
    font-size: 14px;
    padding: 0 10px;
}

.hero__content {
    position: relative;
    z-index: 3;
    padding: 48px 24px;
    max-width: 820px;
}

.hero__eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease) 0.1s forwards;
}

.hero__title {
    font-size: clamp(44px, 8vw, 92px);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #f5ecd7 0%, #e8c975 55%, #8a6523 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeInUp 1s var(--ease) 0.3s forwards;
}

.hero__title em {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.hero__subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.65;
    opacity: 0;
    animation: fadeInUp 1s var(--ease) 0.5s forwards;
}

.hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s var(--ease) 0.7s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 55%, var(--accent-gold-deep) 100%);
    color: #1a0f08;
    box-shadow: 0 10px 32px rgba(212, 175, 55, 0.3);
}
.btn--primary:hover {
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.42);
    color: #1a0f08;
}

.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 50%);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.btn--primary:hover::after { opacity: 1; }

.btn--primary.pulse {
    animation: softPulse 2.6s ease-in-out infinite;
}

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(212, 175, 55, 0.5);
}
.btn--ghost:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--accent-gold);
    color: var(--accent-gold-light);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-faint);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    animation: fadeIn 1s var(--ease) 1.1s forwards;
}
.hero__scroll span { display: block; margin-bottom: 10px; }
.hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent 0%, var(--accent-gold) 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

/* -------------------- Sections -------------------- */

section {
    position: relative;
    padding: 120px 0;
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
}

.section--alt { background: var(--bg-section); }

.section__eyebrow {
    display: block;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}

.section__title {
    text-align: center;
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 20px;
}

.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto 72px;
    line-height: 1.65;
}

.section__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 60px;
    max-width: 240px;
}
.section__divider::before,
.section__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold-deep), transparent);
}
.section__divider span { color: var(--accent-gold); font-size: 12px; }

/* -------------------- Steps (how it works) -------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.step {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    position: relative;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-glow);
}

.step__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-style: italic;
    color: var(--accent-gold);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 16px;
}

.step__title {
    font-size: 24px;
    margin-bottom: 12px;
}

.step__desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* -------------------- Designs showcase -------------------- */

.designs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.design-card {
    position: relative;
    aspect-ratio: 3 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    cursor: pointer;
}
.design-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.design-card__bg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 28px;
}

.design-card__bg::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--radius-lg) - 10px);
    pointer-events: none;
}

.design-card__ring {
    width: 56px;
    height: 56px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
    margin-bottom: 24px;
    opacity: 0.85;
}
.design-card__ring::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: currentColor;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
}

.design-card__script {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.2em;
    opacity: 0.85;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.design-card__names {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.1;
    margin-bottom: 20px;
}
.design-card__names em {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.6em;
    display: block;
    margin: 6px 0;
}

.design-card__divider {
    width: 60px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
    margin: 0 0 20px;
}

.design-card__date {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    opacity: 0.95;
    letter-spacing: 0.05em;
}

.design-card__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.design-card:hover .design-card__footer {
    opacity: 1;
    transform: translateY(0);
}
.design-card__footer-name {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

/* -------------------- Features -------------------- */

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

.feature {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.35);
}

.feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(107, 33, 95, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 26px;
}

.feature__title {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--cream);
}
.feature__desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* -------------------- Portfolio -------------------- */

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

.wed-card {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #2a1a2a, #0d0a08);
    border: 1px solid var(--border);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    text-decoration: none;
    color: var(--cream);
}
.wed-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-card);
    color: var(--cream);
}

.wed-card__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}
.wed-card__inner::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: calc(var(--radius-lg) - 10px);
    pointer-events: none;
}

.wed-card__eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 18px;
}
.wed-card__names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 14px;
}
.wed-card__divider {
    width: 50px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.6;
    margin: 0 0 14px;
}
.wed-card__url {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    word-break: break-all;
}
.wed-card__cta {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.wed-card:hover .wed-card__cta { opacity: 1; }

/* -------------------- Pricing -------------------- */

.price-card {
    max-width: 580px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(160deg, var(--bg-elev) 0%, #241812 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-glow);
    position: relative;
}
.price-card::before,
.price-card::after {
    content: '✦';
    position: absolute;
    color: var(--accent-gold);
    font-size: 18px;
    opacity: 0.5;
}
.price-card::before { top: 20px; left: 20px; }
.price-card::after { bottom: 20px; right: 20px; }

.price-card__eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}
.price-card__amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #f5ecd7, #d4af37 55%, #8a6523);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.price-card__amount-prefix {
    display: block;
    font-size: 16px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
}
.price-card__currency {
    display: inline-block;
    font-size: 0.4em;
    font-style: italic;
    color: var(--text-muted);
    margin-left: 10px;
    vertical-align: baseline;
    -webkit-text-fill-color: var(--text-muted);
}
.price-card__features {
    list-style: none;
    text-align: left;
    margin: 36px 0 32px;
    display: inline-block;
}
.price-card__features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text);
    font-size: 15.5px;
}
.price-card__features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-gold);
    font-size: 14px;
}

/* -------------------- CTA block -------------------- */

.cta-block {
    text-align: center;
    padding: 100px 24px;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.14) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-section), var(--bg-dark));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-block__title {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 18px;
    background: linear-gradient(180deg, #f5ecd7, #d4af37 65%, #8a6523);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta-block__subtitle {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 36px;
}

/* -------------------- Footer -------------------- */

footer.footer {
    padding: 40px 24px 60px;
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
    background: var(--bg-dark);
}
footer.footer .ornament {
    color: var(--accent-gold-deep);
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 0.4em;
}

/* -------------------- Animations -------------------- */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
    0%, 100% { box-shadow: 0 10px 32px rgba(212, 175, 55, 0.3); }
    50%      { box-shadow: 0 14px 44px rgba(212, 175, 55, 0.5); }
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-animate-stagger].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 100ms; }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 200ms; }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 300ms; }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 400ms; }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero__eyebrow,
    .hero__title,
    .hero__subtitle,
    .hero__cta,
    .hero__scroll,
    [data-animate],
    [data-animate-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
    }
    .btn--primary.pulse { animation: none !important; }
}

/* -------------------- Mobile tweaks -------------------- */

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .hero__content { padding: 32px 20px; }
    .hero__ornament-top,
    .hero__ornament-bot { width: 140px; }
    .btn { padding: 14px 22px; font-size: 14px; width: 100%; max-width: 320px; }
    .step { padding: 36px 24px; }
    .price-card { padding: 36px 24px; }
    .feature { padding: 22px; gap: 16px; }
    .feature__icon { width: 48px; height: 48px; font-size: 22px; }
}
