/* 
   MyStory - Modern Magic Design System
   Visual fresh start. Purely emotional, gift-driven aesthetics.
*/

:root {
    /* Colors */
    --magic-purple: #5E35B1;
    /* Deep Purple (Primary) */
    --gold-soft: #EBDCB2;
    /* Soft Gold (Secondary) */
    --cta-peach: #FF8A65;
    /* Peach Orange (CTA) */
    --bg-warm: #FDFBF7;
    /* Warm White */
    --white-pure: #FFFFFF;
    --text-main: #1A1A2E;
    --text-muted: #5C5C70;

    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    /* Tokens */
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-soft: 0 10px 40px rgba(94, 53, 177, 0.08);
    --shadow-premium: 0 20px 60px rgba(94, 53, 177, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Premium Components */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cta-peach);
    color: var(--white-pure);
    padding: 18px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    box-shadow: 0 8px 30px rgba(255, 138, 101, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 138, 101, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.magic-panel {
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    transition: var(--transition);
}

.magic-panel:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-8px);
}

.text-magic {
    color: var(--magic-purple);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
}

.header .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--magic-purple);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav a:hover,
.nav a.active {
    color: var(--magic-purple);
}

.nav-cta {
    background: var(--magic-purple);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: var(--magic-purple);
    }
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 999;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }

    .mobile-sticky-cta .btn-primary {
        width: 100%;
        font-size: 1.1rem;
        padding: 16px;
    }
}

/* Animations */
[data-aos] {
    transition-duration: 0.8s !important;
}

/* Wizard Specific Styles */
.wizard-mode {
    background: var(--bg-warm);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wizard-container {
    max-width: 600px;
    width: 100%;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography Helpers */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--magic-purple), #8e24aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}