/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* CSS Variables */
:root {
    --primary-color: #7e57c2;
    /* Deep purple */
    --primary-light: #b085f5;
    --primary-dark: #4d2c91;
    --secondary-color: #ffca28;
    /* Warm gold/yellow */
    --secondary-hover: #ffb300;
    --text-dark: #333333;
    --text-light: #f5f5f5;
    --text-muted: #666666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);

    --transition: all 0.3s ease;
}

/* Reset & Initial Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-gradient {
    background: linear-gradient(135deg, rgba(126, 87, 194, 0.05) 0%, rgba(126, 87, 194, 0.15) 100%);
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 24px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-perks-list {
    text-align: left;
    max-width: 500px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-perks-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 24px;
}

.hero-perks-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background-color: rgba(126, 87, 194, 0.3);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 202, 40, 0.2);
}

/* Hero Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.decorative-card {
    transform: rotate(2deg);
    transition: var(--transition);
}

.decorative-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.card-badge {
    position: absolute;
    top: 40px;
    left: 10px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transform: rotate(-5deg);
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 10px rgba(126, 87, 194, 0.3);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.step-card p {
    color: var(--text-muted);
}

/* Perks Section */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.perk-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.perk-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
    transform: translateX(5px);
}

.perk-icon-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background-color: rgba(126, 87, 194, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perk-item h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.perk-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Whiff Box Section */
.whiff-box-feature .container {
    display: flex;
    justify-content: center;
}

.whiff-box-content {
    background-color: var(--bg-white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(126, 87, 194, 0.2);
}

.badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.whiff-box-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.whiff-box-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.feature-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 500;
}

.mt-4 {
    margin-top: 32px;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.signup-image-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    display: inline-block;
    transition: var(--transition);
}

.signup-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.signup-img {
    width: 100%;
    display: block;
}

.signup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(126, 87, 194, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.signup-image-container:hover .signup-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo h3 {
    color: var(--bg-white);
    margin-bottom: 8px;
}

.footer-logo p {
    color: #999;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-light);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom p {
    color: #888;
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .perks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple mobile menu hidden for now */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}