:root {
    --light-gold: #E8D8C3;
    --gold: #CBAA73;
    --dark-gold: #A98751;
    --sage-green: #9CB4A1;
    --dark-sage: #7A9380;
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #E2E2E2;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, .logo-text {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 226, 226, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text-styled {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-main);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-text-styled:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--gold);
}

.header-socials {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(203, 170, 115, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-gold);
    transform: translateY(-2px);
}

.btn-sage {
    background-color: var(--sage-green);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(156, 180, 161, 0.4);
}

.btn-sage:hover {
    background-color: var(--dark-sage);
    transform: translateY(-3px);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(203, 170, 115, 0.4);
}

.btn-gold:hover {
    background-color: var(--dark-gold);
    transform: translateY(-3px);
}

.btn-preview {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    opacity: 0;
    transform: translateY(20px);
}

/* Hero Section Redesign */
.hero-redesign {
    padding: 6rem 5% 5rem 5%;
    background: radial-gradient(circle at 50% 30%, #ffffff, var(--cream));
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title-main {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-desc-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    max-width: 620px;
    line-height: 1.7;
}

.hero-desc-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2.2rem;
    max-width: 620px;
    line-height: 1.7;
}

.text-accent {
    color: var(--gold);
    font-weight: 600;
}

.hero-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 440px;
}

.btn-dark-arrow {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 1.2rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 1px solid #1a1a1a;
}

.btn-dark-arrow:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    transform: translateX(6px);
}

.arrow-line {
    font-weight: normal;
    letter-spacing: -2px;
    margin-left: 1rem;
    opacity: 0.8;
}

.hero-foot-text {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 500;
}

/* Mockups Layout */
.hero-mockup-side {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 400px;
}

.mockup-laptop {
    position: absolute;
    top: 20px;
    right: 0;
    width: 85%;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mockup-laptop:hover {
    transform: translateY(-8px);
}

.laptop-screen {
    background: #0d0d0d;
    border-radius: 14px 14px 0 0;
    padding: 12px 12px 0 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    aspect-ratio: 16/10;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.laptop-screen img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px 4px 0 0;
}

.laptop-base {
    background: #d4d4d4;
    height: 12px;
    border-radius: 0 0 14px 14px;
    position: relative;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: #9c9c9c;
    border-radius: 0 0 5px 5px;
}

.mockup-phone {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 32%;
    background: #0d0d0d;
    border-radius: 32px;
    padding: 7px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.22);
    z-index: 2;
    aspect-ratio: 9/19;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 3.5px solid #2d2d2d;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mockup-phone:hover {
    transform: scale(1.04) translateY(-8px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Ticker Banner (Marquee) */
.ticker-banner {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-track {
    display: inline-flex;
    animation: marquee-scroll 32s linear infinite;
    width: max-content;
}

.ticker-track span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-main);
    letter-spacing: 2px;
    padding-right: 4rem;
    text-transform: uppercase;
    display: inline-block;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}


/* Templates Section */
.templates-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.filter-item {
    position: relative;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 300px;
}

.search-bar i {
    color: var(--text-light);
    margin-right: 0.8rem;
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 1rem;
    width: 100%;
    background: transparent;
    font-family: inherit;
}

select {
    appearance: none;
    background: var(--white);
    border: none;
    border-radius: 30px;
    padding: 0.9rem 2.5rem 0.9rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    outline: none;
    color: var(--text-main);
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.template-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.template-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--light-gold);
}

.placeholder-floral {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-floral::after {
    content: 'Флористический Шаблон';
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--sage-green);
}

.placeholder-minimalist {
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-minimalist::after {
    content: 'Минималистичный Шаблон';
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-main);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-image:hover .overlay {
    opacity: 1;
}

.template-image:hover .btn-preview {
    opacity: 1;
    transform: translateY(0);
}

.template-info {
    position: relative;
}

.template-number {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.template-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.template-style {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Choose Your Path Section */
.path-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.path-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.path-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: var(--white);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.premium-card {
    border: 1px solid var(--gold);
    background: linear-gradient(to bottom, #ffffff, #faf7f2);
    box-shadow: 0 15px 40px rgba(203, 170, 115, 0.15);
}

.premium-card:hover {
    box-shadow: 0 20px 50px rgba(203, 170, 115, 0.25);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.path-icon {
    font-size: 3.5rem;
    color: var(--dark-gold);
    margin-bottom: 1.5rem;
}

.path-headline {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.path-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    padding: 1rem 2.5rem;
}

.btn-ghost:hover {
    background: var(--text-main);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold-solid {
    background-color: var(--gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    box-shadow: 0 6px 20px rgba(203, 170, 115, 0.4);
}

.btn-gold-solid:hover {
    background-color: var(--dark-gold);
    transform: translateY(-3px);
}

/* Order Page */
.order-page {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.order-container {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.order-form-column {
    flex: 2;
    min-width: 350px;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.order-title {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.order-subtitle {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.custom-design-form .form-group {
    margin-bottom: 1.5rem;
}

.custom-design-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.custom-design-form input[type="text"],
.custom-design-form input[type="datetime-local"],
.custom-design-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--cream);
    transition: border-color 0.3s ease;
}

.custom-design-form input[type="text"]:focus,
.custom-design-form input[type="datetime-local"]:focus,
.custom-design-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    background: var(--cream);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: var(--gold);
    background: #fdfaf6;
}

.file-upload-area i {
    font-size: 2.5rem;
    color: var(--sage-green);
    margin-bottom: 1rem;
}

.file-upload-area p {
    color: var(--text-light);
}

.file-upload-area span {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1.2rem;
}

.order-info-column {
    flex: 1;
    min-width: 300px;
}

.info-card {
    background: linear-gradient(135deg, var(--white), #fbf9f5);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(203, 170, 115, 0.15);
    position: sticky;
    top: 120px;
}

.info-card-title {
    font-size: 1.5rem;
    color: var(--dark-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.included-list li:last-child {
    margin-bottom: 0;
}

.included-icon {
    width: 40px;
    height: 40px;
    background: var(--sage-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(156, 180, 161, 0.3);
}

.included-text {
    font-size: 1.05rem;
    color: var(--text-main);
    padding-top: 0.3rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
}

.step-icon {
    font-size: 3.5rem;
    color: var(--sage-green);
    margin-bottom: 1.5rem;
}

.step-item:nth-child(2) .step-icon {
    color: var(--gold);
}

.step-text {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 500;
}

/* ==========================================
   Media Queries (Responsive Layouts)
   ========================================== */

/* Планшетные устройства (до 1024px) */
@media (max-width: 1024px) {
    .order-container {
        gap: 2rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-text-side {
        align-items: center;
        text-align: center;
    }
    .hero-title-main {
        font-size: 2.8rem;
    }
    .hero-buttons-group {
        margin: 0 auto 2rem auto;
    }
    .mockup-container {
        max-width: 480px;
        height: 340px;
        margin: 0 auto;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Header & Navigation */
    .header {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem 5%;
        position: relative;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        height: auto;
        padding: 6rem 1rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.8rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Filters on Landing */
    .filters {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-bottom: 2.5rem;
        width: 100%;
    }
    
    .filter-item, 
    .search-bar,
    .filters select {
        width: 100%;
        max-width: 340px;
    }

    /* Template Grid */
    .template-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .template-image {
        height: 300px;
    }

    /* How It Works Section */
    .how-it-works-section {
        padding: 3rem 1.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .step-item {
        padding: 1rem 0;
        width: 100%;
    }
    
    .step-icon {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .step-text {
        font-size: 1.1rem;
    }

    /* Order Page / Form */
    .order-page {
        padding: 2rem 4%;
    }
    
    .order-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .order-form-column {
        padding: 2rem 1.5rem;
        min-width: 100%;
    }
    
    .order-title {
        font-size: 1.8rem;
    }
    
    .order-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    
    .info-card {
        position: static;
        padding: 2rem 1.5rem;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .header {
        padding: 1rem 3%;
    }
    
    .logo-text-styled {
        font-size: 1.5rem;
    }
    
    .hero-title-main {
        font-size: 1.9rem;
    }
    
    .hero-desc-lead {
        font-size: 0.95rem;
    }
    
    .hero-desc-sub {
        font-size: 0.9rem;
    }
    
    .mockup-container {
        max-width: 290px;
        height: 220px;
    }
    
    .mockup-phone {
        width: 38%;
    }
    
    .template-image {
        height: 240px;
    }
}

/* ========================================================= */
/* PREVIEW MODAL STYLES                                      */
/* ========================================================= */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.preview-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--cream);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 10;
}

.preview-modal-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.preview-modal-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.preview-modal-body {
    flex: 1;
    width: 100%;
    position: relative;
    background-color: #f5f5f5; /* loading background */
}

.preview-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .preview-modal-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    .preview-modal-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================= */
/* WHAT IS INVITATION SECTION                                */
/* ========================================================= */
.what-is-section {
    padding: 6rem 5%;
    background-color: var(--cream);
    overflow: hidden;
}

.what-is-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.what-is-mockups {
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlapping-phones {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100%;
}

.phone-mockup {
    position: absolute;
    width: 240px;
    aspect-ratio: 9/19;
    background: #0d0d0d;
    border: 6px solid #2d2d2d;
    border-radius: 36px;
    padding: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

.phone-1 {
    left: 0;
    top: 20px;
    z-index: 2;
}

.phone-2 {
    right: 0;
    bottom: 20px;
    z-index: 1;
}

.p-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
}

.p-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.what-is-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.what-is-title {
    font-size: 2.8rem;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-weight: 600;
}

.what-is-text-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.what-is-text-p1 {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.7;
    font-weight: 500;
}

.what-is-text-p2 {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================================= */
/* WHY CHOOSE SECTION                                        */
/* ========================================================= */
.why-choose-section {
    padding: 6rem 5%;
    background-color: var(--white);
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-main-title {
    text-align: center;
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 4rem;
}

.why-choose-grid-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-list-side {
    display: flex;
    flex-direction: column;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-bullet {
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: bold;
}

.benefit-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.why-choose-cards-side {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.cascading-cards-container {
    position: relative;
    width: 280px;
    height: 380px;
}

.cascade-card {
    position: absolute;
    width: 220px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    border: 1px solid rgba(226, 226, 226, 0.5);
}

.cascade-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.card-1 {
    left: 0;
    top: 40px;
    transform: rotate(-6deg);
    z-index: 1;
}

.card-2 {
    left: 30px;
    top: 20px;
    transform: rotate(0deg);
    z-index: 2;
}

.card-3 {
    left: 60px;
    top: 0px;
    transform: rotate(6deg);
    z-index: 3;
}

.cascading-cards-container:hover .card-1 {
    transform: translate(-20px, 10px) rotate(-12deg);
}

.cascading-cards-container:hover .card-2 {
    transform: translateY(-10px);
}

.cascading-cards-container:hover .card-3 {
    transform: translate(20px, -10px) rotate(12deg);
}

/* ========================================================= */
/* WHO WE ARE (ABOUT) SECTION                                */
/* ========================================================= */
.who-we-are-section {
    padding: 6rem 5%;
    background-color: var(--cream);
}

.who-we-are-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.who-we-are-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.decorative-line {
    height: 1px;
    width: 60px;
    background-color: var(--gold);
}

.who-we-are-title {
    font-size: 2.2rem;
    color: var(--text-main);
    letter-spacing: 1.5px;
    font-weight: 500;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.who-we-are-p1 {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.7;
}

.who-we-are-p2 {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .what-is-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .what-is-title {
        font-size: 2.2rem;
    }
    .what-is-mockups {
        height: 380px;
    }
    .overlapping-phones {
        max-width: 320px;
    }
    .phone-mockup {
        width: 180px;
    }
    .phone-1 {
        top: 10px;
    }
    .phone-2 {
        bottom: 10px;
    }
    
    .why-choose-main-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    .why-choose-grid-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .why-choose-cards-side {
        height: 350px;
    }
    .cascading-cards-container {
        width: 240px;
        height: 320px;
    }
    .cascade-card {
        width: 180px;
        height: 260px;
    }
    
    .who-we-are-title {
        font-size: 1.8rem;
    }
    .who-we-are-p1 {
        font-size: 1.05rem;
    }
    .who-we-are-p2 {
        font-size: 0.95rem;
    }
}

