/* Wedding Planner - Editorial Luxury Design System */
:root {
    --primary: #c5a059;
    /* Muted Gold */
    --primary-soft: #fbf6ef;
    --secondary: #1a1a1a;
    --accent-pink: #f4c9c6;
    /* Branded Nude Pink from App */
    --accent-soft: #fff9f9;
    --bg-main: #fffcfc;
    --text-main: #2d2d2d;
    --text-light: #888888;
    --border-thin: 1px solid rgba(244, 201, 198, 0.4);
    --shadow-soft: 0 20px 60px rgba(244, 201, 198, 0.15);
    --anim-editorial: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.6);
}

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,700;1,6..96,400&family=Outfit:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    background-image:
        radial-gradient(var(--accent-pink) 0.8px, transparent 0.8px);
    background-size: 40px 40px;
    line-height: 1.6;
    font-size: 0.95rem;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* 1. Refined Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 8%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 252, 252, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(244, 201, 198, 0.3);
    transition: var(--anim-editorial);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 42px;
    width: auto;
    border-radius: 12px;
    /* Rounder border as requested */
    box-shadow: 0 4px 12px rgba(244, 201, 198, 0.2);
}

.logo-text {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    /* Luxury Editorial Feel */
    text-transform: none;
    letter-spacing: -1px;
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-bridal {
    background: var(--secondary);
    color: white !important;
    padding: 14px 40px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    /* Square/Minimalist */
    transition: var(--anim-editorial);
}

.btn-bridal:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3.5rem;
    z-index: 10;
    position: relative;
}

.btn-premium {
    position: relative;
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-family: 'Bodoni Moda', serif;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Diamond Sparkle Text Glow */
    text-decoration: none;
    background: linear-gradient(135deg, #f4c9c6 0%, #ecc4c1 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(244, 201, 198, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    z-index: 10;
    letter-spacing: 0.5px;
    margin-top: 0 !important;
}

.btn-demo {
    position: relative;
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-family: 'Bodoni Moda', serif;
    font-weight: 600;
    color: var(--secondary) !important;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 201, 198, 0.5);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    letter-spacing: 0.5px;
}

.btn-demo:hover {
    transform: scale(1.05);
    background: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 8px 25px rgba(244, 201, 198, 0.2);
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(244, 201, 198, 0.4);
    background: linear-gradient(135deg, #f7d4d1 0%, #f4c9c6 100%);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 0 rgba(244, 201, 198, 0.4);
    animation: heartbeatGlow 2.5s infinite;
    z-index: -1;
}

@keyframes heartbeatGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 201, 198, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(244, 201, 198, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 201, 198, 0);
    }
}

.btn-premium::before {
    content: '✨';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: 0.3s ease;
    font-size: 0.8rem;
    opacity: 0;
}

.btn-premium:hover::before {
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

/* 2. De-Bulked Hero with Premium Motion Background */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 180px 8% 100px;
    background: linear-gradient(-45deg, #fffcfc, #fff5f5, #fbf6ef, #fffcfc);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-pink) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.15;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-main), transparent);
    pointer-events: none;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2.1 Floating Background Elements */
.floating-elements-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
    filter: blur(1px);
    will-change: transform;
    user-select: none;
}

.floating-element.flower {
    font-size: 2.5rem;
}

.floating-element.ribbon {
    font-size: 2rem;
    opacity: 0.2;
}

.floating-element.confetti {
    width: 10px;
    height: 10px;
    background: var(--accent-pink);
    border-radius: 50%;
    opacity: 0.4;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 5;
    /* Ensure text is above floating elements */
}

.tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #d4af37;
    /* Brighter, More Brilliant Gold */
    margin-bottom: 3rem;
    display: block;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 3rem;
    color: var(--secondary);
}

.hero h1 span {
    font-style: italic;
    color: #f79c9c;
    /* Brighter Vibrant Rose */
    display: block;
    text-shadow: 2px 2px 4px rgba(244, 201, 198, 0.5);
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #444;
    /* Brighter than coal black, more editorial grey */
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary-silk {
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--secondary), #333);
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--anim-editorial);
    border-radius: 50px;
}

.btn-primary-silk:hover {
    padding-left: 60px;
    background: linear-gradient(135deg, var(--accent-pink), var(--primary));
    color: var(--secondary);
}

.btn-secondary-white {
    padding: 18px 50px;
    background: transparent;
    color: var(--secondary);
    border: var(--border-thin);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--anim-editorial);
}

/* 3. Modular Block Sections */
.sections {
    padding: 60px 8%;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Prestige Quadrant: 2 Rows of 4 */
    gap: 2rem;
    margin-top: 5rem;
}

.feature-block {
    padding: 3rem 2rem;
    position: relative;
    background: #fff;
    border: 1px solid rgba(244, 201, 198, 0.3);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feature-block:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-pink);
    box-shadow: 0 30px 60px rgba(244, 201, 198, 0.2);
    background: var(--accent-soft);
}

/* Replicating the 'Magic Sparkle' */
.feature-block::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: 0.3s;
    transform: scale(0);
}

.feature-block:hover::after {
    opacity: 1;
    transform: scale(1);
    animation: magicFloat 2s ease-in-out infinite;
}

.block-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: block;
    transition: 0.3s;
}

.feature-block:hover .block-icon {
    transform: scale(1.2) rotate(-5deg);
}

.feature-block h2,
.feature-block h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.feature-block p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.capability-list {
    list-style: none;
    margin-top: auto;
    text-align: left;
    /* Keep list left aligned for readable checklists */
}

.capability-list li {
    font-size: 0.8rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.capability-list li::before {
    content: '→';
    /* Editorial Arrow */
    color: var(--accent-pink);
    /* Pink Arrows */
    font-weight: 900;
}

.bridal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* 4. Elegant Mockups (Smaller/Finer) */
.mockup-container {
    perspective: 2000px;
    margin-top: 3rem;
}

.floating-mockup {
    background: white;
    border: var(--border-thin);
    box-shadow: var(--shadow-soft);
    padding: 0;
    overflow: hidden;
    transform: rotateY(-15deg);
    transition: var(--anim-editorial);
}

.floating-mockup:hover {
    transform: rotateY(0deg) scale(1.05);
}

.mockup-header {
    background: #fdfaf3;
    padding: 12px 20px;
    border-bottom: var(--border-thin);
}

.ms-pill {
    padding: 15px 20px;
    border-bottom: var(--border-thin);
    background: white;
}

.ms-check {
    width: 18px;
    height: 18px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.6rem;
}

/* 5. Split Feature (Overlapping Editorial) */
.split-showcase {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 150px 8%;
    background: #fff;
}

.showcase-visual {
    flex: 1.2;
    background: #fdfaf3;
    padding: 80px;
    position: relative;
    z-index: 1;
}

.showcase-text {
    flex: 1;
    background: white;
    padding: 80px;
    margin-left: -100px;
    /* Overlap */
    position: relative;
    z-index: 2;
    border: var(--border-thin);
    box-shadow: 20px 20px 0 var(--primary-soft);
}

/* 6. How it Works (Steps) */
.steps-section {
    padding: 100px 8%;
    background: var(--bg-main);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 5rem;
}

.step-card {
    position: relative;
    padding: 3rem 2rem;
    background: white;
    border: 2px solid var(--accent-pink);
    border-radius: 20px;
    text-align: center;
    transition: var(--anim-editorial);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(244, 201, 198, 0.2);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
    color: var(--secondary);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}



/* 7. Why Choose Section (Horizontal Editorial Flow) */
.why-wedconnect {
    padding: 120px 5%;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.why-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 5rem;
    flex-wrap: nowrap;
    /* Forces one row on desktop */
}

.why-item {
    flex: 1;
    padding: 2.5rem 1.5rem;
    position: relative;
    background: #fff;
    border: 1px solid rgba(244, 201, 198, 0.2);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.why-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-pink);
    box-shadow: 0 30px 60px rgba(244, 201, 198, 0.2);
    background: var(--accent-soft);
}

/* Magic Sparkle Animation */
.why-item::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: 0.3s;
    transform: scale(0);
}

.why-item:hover::after {
    opacity: 1;
    transform: scale(1);
    animation: magicFloat 2s ease-in-out infinite;
}

@keyframes magicFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(20deg);
    }
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: block;
    transition: 0.3s;
}

.why-item:hover .why-icon {
    transform: scale(1.2) rotate(-5deg);
}

.why-item h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.why-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Ensure responsiveness on mobile */
@media (max-width: 1400px) {
    .feature-block-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on small desktops/tablets */
    }
}

@media (max-width: 1200px) {
    .why-grid {
        flex-wrap: wrap;
    }

    .why-item {
        flex: 1 1 300px;
    }
}

@media (max-width: 768px) {
    .feature-block-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }
}




/* 9. Footer (Minimal) */
footer {
    padding: 100px 8% 50px;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

footer .logo {
    color: var(--primary);
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .split-showcase {
        flex-direction: column;
        padding: 60px 8%;
    }

    .showcase-text {
        margin-left: 0;
        margin-top: -50px;
        width: 100%;
        box-shadow: none;
    }

    .nav-links {
        display: none;
    }

    .bridal-grid {
        gap: 4rem;
    }
}