/* ========================================================
   VARIABLES & THEME (DARK ONLY)
   ======================================================== */
:root {
    --bg-primary: #0F1714;
    --bg-secondary: #172420;
    --bg-card: #1D2D28;
    --bg-card-glass: rgba(29, 45, 40, 0.9);

    --text-main: #F4EFE6;
    --text-muted: #B8B0A2;
    --text-light: #7E786E;

    --accent-gold: #E5BE65;
    --accent-gold-dark: #C29B38;
    --accent-emerald: #164032;
    --accent-rose: #C67D76;

    --border-subtle: #2B3D36;
    --border-card: rgba(229, 190, 101, 0.3);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-phone: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    --shadow-gold: 0 15px 35px -10px rgba(229, 190, 101, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   BASE RESETS
   ======================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-title,
.letter-couple,
.envelope-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.icon-spacer {
    margin-left: 0.35rem;
    margin-right: 0.35rem;
}

.star-accent {
    font-size: 1.8rem;
    vertical-align: middle;
    color: var(--accent-gold);
}

/* ========================================================
   NAVBAR
   ======================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-mark img {
    height: auto;
    max-width: 180px;
    display: block;
}

.logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero-section {
    position: relative;
    padding: 5.5rem 2rem 6rem;
    background: radial-gradient(circle at 75% 25%, rgba(229, 190, 101, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(22, 64, 50, 0.5) 0%, transparent 55%) !important;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.25rem;
    border-left: 2px solid var(--accent-gold);
    padding-left: 0.75rem;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.12;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-gold);
    text-shadow: 0 0 25px rgba(229, 190, 101, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 530px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.85rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #0F1714;
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #0F1714;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ========================================================
   PHONE MOCKUP (For Hero Section Only)
   ======================================================== */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: var(--accent-gold);
    filter: blur(100px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.phone-frame {
    width: 310px;
    height: 590px;
    border-radius: 46px;
    background: #080c0a;
    padding: 12px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(229, 190, 101, 0.15);
    position: relative;
    border: 4px solid #283e35;
    z-index: 1;
}

.phone-speaker {
    width: 60px;
    height: 4px;
    background: #1a2520;
    border-radius: 4px;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

.phone-island {
    width: 90px;
    height: 22px;
    background: #000;
    border-radius: 20px;
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

.before-after-container {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background: #141f1b;
    user-select: none;
}

.comparison-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.layer-before {
    z-index: 5;
    background: linear-gradient(135deg, #1b362c 0%, #0d2019 100%);
    color: #F8F5EE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.envelope-view {
    width: 82%;
    height: 76%;
    background: #e8dcc4;
    border: 1px solid #c9b897;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: #3e3223;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 48%;
    background: #ded0b4;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border-bottom: 1px solid #baa681;
}

.wax-seal {
    width: 58px;
    height: 58px;
    background: radial-gradient(circle, #a82e2e 0%, #701313 100%);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-bottom: 1rem;
    border: 2px dashed rgba(255, 255, 255, 0.25);
}

.wax-monogram {
    font-family: 'Cormorant Garamond', serif;
    color: #f7e6a1;
    font-size: 1.8rem;
    font-weight: 700;
}

.envelope-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 1.25rem;
    color: #3b2d1d;
}

.envelope-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8c7353;
    margin-top: 0.35rem;
}

.layer-after {
    z-index: 10;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--accent-gold);
    background: #172621;
}

.letter-view {
    width: 296px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.25rem;
    color: #f4efe6;
}

.letter-floral {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.6rem;
    display: flex;
    gap: 0.4rem;
}

.letter-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a49c90;
}

.letter-couple {
    font-size: 2.1rem;
    color: var(--accent-gold);
    margin: 0.3rem 0;
    line-height: 1.15;
}

.letter-divider {
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.letter-details {
    font-size: 0.78rem;
    color: #d2cbbe;
    max-width: 200px;
    margin-bottom: 1.2rem;
}

.letter-date {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent-gold);
}

.letter-venue {
    font-size: 0.72rem;
    color: #b5ae9f;
    margin-top: 0.2rem;
    margin-bottom: 1.4rem;
}

.letter-rsvp-btn {
    background: var(--accent-gold);
    color: #0F1714;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1.4rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--accent-gold);
    z-index: 20;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #172420;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.before-after-labels {
    position: absolute;
    bottom: 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
    z-index: 15;
    pointer-events: none;
}

.label-chip {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================================
   STATS BAR
   ======================================================== */
.stats-bar {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-card.divider {
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}

.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 600;
}

/* ========================================================
   SECTION HEADERS
   ======================================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 0.6rem;
}

.section-heading {
    font-size: 2.8rem;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.section-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
}

/* ========================================================
   CLEAN TEMPLATES GRID
   ======================================================== */
.templates-section {
    padding: 6rem 2rem;
    position: relative;
    background: var(--bg-primary);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.template-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.template-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.card-dark {
    background: linear-gradient(145deg, #182823 0%, #0d1714 100%);
}

.card-light {
    background: linear-gradient(145deg, #3d3b36 0%, #1e1d1a 100%);
}

.card-green {
    background: linear-gradient(145deg, #103829 0%, #081d15 100%);
}

.card-rose {
    background: linear-gradient(145deg, #421c22 0%, #1c0d10 100%);
}

.card-pastel {
    background: linear-gradient(145deg, #1f372d 0%, #0c1a14 100%);
}

.template-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.template-card:hover .template-screen-img {
    transform: scale(1.06);
}

.screen-fallback-art {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    z-index: 0;
}

.theme-pill {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.3);
}

.seal-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.screen-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    color: #d09a1f;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.screen-sub {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #c9bfaf;
}

.screen-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 20, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.template-card:hover .screen-hover-overlay {
    opacity: 1;
}

.btn-live-preview {
    background: var(--accent-gold);
    color: #0f1714;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(229, 190, 101, 0.4);
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.template-card:hover .btn-live-preview {
    transform: translateY(0);
}

.btn-live-preview:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.05);
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.card-meta h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
}

.price-tag {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--bg-primary);
    background: var(--text-muted);
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.template-card:hover .price-tag {
    background: var(--accent-gold);
}

.browse-all-container {
    text-align: center;
    margin-top: 4rem;
}

/* ========================================================
   MODAL REDESIGN (IMAGE LAYOUT IN DARK THEME)
   ======================================================== */
.modal-preview {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 1.5rem;
}

.modal-preview.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 8, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.modal-main-title {
    color: var(--text-main);
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Cormorant Garamond', serif;
}

.new-modal-layout {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-subtle);
    width: 100%;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-preview.active .new-modal-layout {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 50;
}

.modal-close:hover {
    color: var(--accent-gold);
}

/* Left Phone */
.modal-left-phone {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.modal-left-phone .phone-frame {
    width: 300px;
    height: 600px;
    background: #080c0a;
    border-radius: 46px;
    padding: 12px;
    position: relative;
    border: 3.5px solid #283e35;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    background-size: cover;
    background-position: center;
    background-color: #0d1411;
}

/* Right Details */
.modal-right-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.price-box {
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    background: rgba(229, 190, 101, 0.05);
}

.price-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.orders-pill {
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.modal-italic-desc {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.feature-pills span {
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #cfc5b4;
    background: rgba(255, 255, 255, 0.03);
}

/* Accordion */
.modal-accordion {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.modal-accordion.open .accordion-content {
    max-height: 200px;
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

/* Buttons */
.modal-action-buttons {
    display: flex;
    gap: 1rem;
}

.btn-try-demo {
    padding: 0.85rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.btn-try-demo i {
    color: var(--accent-gold);
}

.btn-try-demo:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-order-now {
    padding: 0.85rem 1.8rem;
    border-radius: 30px;
    background: #20b858;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
    border: none;
}

.btn-order-now:hover {
    background: #1da34e;
    box-shadow: 0 8px 20px rgba(32, 184, 88, 0.3);
}

/* ========================================================
   COMPARISON TABLE
   ======================================================== */
.comparison-section {
    padding: 5rem 2rem 6rem;
    background-color: var(--bg-secondary);
}

.table-container {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    overflow-x: auto;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.comparison-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 1.15rem 1.6rem;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    background: rgba(229, 190, 101, 0.08);
}

.comparison-table th:last-child {
    color: var(--accent-gold);
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3),
.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3) {
    text-align: center;
}

.paper-val {
    color: var(--text-muted);
}

.digital-val {
    font-weight: 700;
    color: var(--accent-gold);
}

.cross {
    color: #e05d68;
    font-size: 1.1rem;
}

.check {
    color: #4bd37b;
    font-size: 1.1rem;
}

/* ========================================================
   FEATURES GRID
   ======================================================== */
.features-section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.35;
}

/* ========================================================
   PROCESS STEPS
   ======================================================== */
.process-section {
    padding: 5rem 2rem 6rem;
    background-color: var(--bg-secondary);
}

.process-steps {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-gold);
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-card);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.step-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ========================================================
   FAQ ACCORDION
   ======================================================== */
.faq-section {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-arrow {
    font-size: 1.1rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.25rem;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.footer-cta-box h3 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.footer-cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-pill:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .nav-links {
        display: none;
    }

    .stats-container {
        grid-template-columns: fr;
        gap: 2rem;
    }

    .stat-card.divider {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-subtle);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem 0;
    }

    .templates-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1.25rem 4rem;
    }

    .phone-frame {
        width: 290px;
        height: 520px;
    }

    .letter-view {
        width: 266px;
    }

    .section-heading {
        font-size: 2.2rem;
    }

    .templates-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    /* Modal Responsive */
    .new-modal-layout {
        flex-direction: column;
        padding: 2rem 1.25rem;
        align-items: center;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-main-title {
        font-size: 1.8rem;
    }

    .modal-left-phone .phone-frame {
        width: 250px;
        height: 500px;
    }

    .modal-action-buttons {
        flex-direction: column;
    }

    .btn-try-demo,
    .btn-order-now {
        width: 100%;
        justify-content: center;
    }

    .step-card {
        padding: 1.25rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .templates-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* ========================================================
   SEO CONTENT SECTION (CREATIVE UPGRADE)
   ======================================================== */
.seo-content-section {
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-primary); 
    overflow: hidden;
    z-index: 1;
}

/* Subtle Glowing Background Orbs */
.seo-content-section::before {
    content: '';
    position: absolute;
    top: -10%; left: 15%;
    width: 350px; height: 350px;
    background: var(--accent-gold);
    filter: blur(150px);
    opacity: 0.06;
    z-index: -1;
}

.seo-content-section::after {
    content: '';
    position: absolute;
    bottom: -10%; right: 10%;
    width: 350px; height: 350px;
    background: var(--accent-emerald);
    filter: blur(150px);
    opacity: 0.08;
    z-index: -1;
}

/* Premium Glass Card Layout */
.seo-content-inner {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 4.5rem 4rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Watermark Quote Icon */
.seo-content-inner::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    color: var(--accent-gold);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
}

.seo-content-inner .section-tag {
    display: block;
    text-align: center;
    margin-bottom: 0.8rem;
}

.seo-content-inner .section-heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.6rem;
}

.seo-content-inner h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 3rem 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Elegant Line before H3 tags */
.seo-content-inner h3::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.seo-content-inner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Highlight for SEO Keywords (Strong tags) */
.seo-content-inner strong { 
    color: #fff; 
    font-weight: 600; 
    background: linear-gradient(120deg, rgba(229, 190, 101, 0.15) 0%, transparent 100%);
    padding: 2px 6px;
    border-radius: 6px;
}

/* Creative Link Styling */
.seo-content-inner a { 
    color: var(--accent-gold); 
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent-gold);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.seo-content-inner a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
    background: rgba(229, 190, 101, 0.1);
    border-radius: 4px 4px 0 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .seo-content-section { padding: 4rem 1.25rem; }
    .seo-content-inner { padding: 3rem 1.5rem; }
    .seo-content-inner .section-heading { font-size: 2rem; }
    .seo-content-inner h3 { font-size: 1.35rem; }
    .seo-content-inner::before { font-size: 6rem; left: 15px; top: 10px; }
}


/* ========================================================
   EYE-CATCHING CREATIVE TEMPLATE CARDS & NEW BADGES
   ======================================================== */
.template-card {
    position: relative;
    border: 1px solid rgba(229, 190, 101, 0.25);
    background: linear-gradient(160deg, #1d2d28 0%, #131f1b 100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 45px rgba(229, 190, 101, 0.25);
}

/* Super Creative Glowing New Badge */
.new-template-card {
    border: 1.5px solid var(--accent-gold);
}

.sparkle-aura {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, var(--accent-gold), transparent, var(--accent-emerald), var(--accent-gold));
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
    animation: pulseAura 3s infinite;
}

@keyframes pulseAura {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.new-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #0f1714;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    z-index: 25;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5);
    text-transform: uppercase;
}

/* Diwali Offer Badge */
.offer-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    z-index: 25;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.5);
}

.price-box-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.original-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.8;
}

.festive-glow {
    color: #4bd37b !important;
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(75, 211, 123, 0.4);
}

/* ========================================================
   SOOTHING FESTIVE DIWALI GLOW & CREATIVE CARD STYLING
   ======================================================== */
.template-card {
    position: relative;
    border: 1px solid rgba(229, 190, 101, 0.25);
    background: linear-gradient(160deg, #1d2d28 0%, #131f1b 100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 45px rgba(229, 190, 101, 0.25);
}

.new-template-card {
    border: 1.5px solid var(--accent-gold);
}

.sparkle-aura {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, var(--accent-gold), transparent, var(--accent-gold-dark), var(--accent-gold));
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
    animation: pulseAura 3s infinite;
}

@keyframes pulseAura {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.new-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #0f1714;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    z-index: 25;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5);
    text-transform: uppercase;
}

.offer-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    z-index: 25;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
}

.price-box-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.original-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.8;
}

/* Soothing Gold Glow instead of eye-straining green */
.festive-glow {
    color: var(--accent-gold) !important;
    font-weight: 800 !important;
    text-shadow: 0 0 12px rgba(229, 190, 101, 0.45);
}

/* ========================================================
   BACKGROUND IMAGE SETUP (Large vs Small Devices)
   ======================================================== */


/* Small devices / Mobile screens ke liye background copy image */
@media (max-width: 768px) {
    body {
        background-image: url('image/utsavly-bg-big - Copy.jpg');
        background-attachment: scroll;
    }
}

/* ========================================================
   CREATIVE GLASS EFFECT CARDS & SUBDUED GLOW (NO OVER-GLOW)
   ======================================================== */
.template-card {
    position: relative;
    background: rgba(23, 36, 32, 0.75); /* Glassmorphism translucent background */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(229, 190, 101, 0.25);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* New template card subtle styling without heavy glow */
.new-template-card {
    background: rgba(29, 45, 40, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--accent-gold);
}

.sparkle-aura {
    display: none; /* Heavy glow remove kar diya hai */
}

.new-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #0f1714;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    z-index: 25;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    text-transform: uppercase;
}

.offer-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    z-index: 25;
}

/* ========================================================
   PRICE TEXT COLOR FIXED TO BLACK (Normal & Hover)
   ======================================================== */
.price-tag, 
.festive-glow, 
.template-card:hover .price-tag, 
.template-card:hover .festive-glow {
    color: #0F1714 !important;
    background: var(--accent-gold);
    font-weight: 700 !important;
    text-shadow: none !important;
}

.original-price {
    font-size: 0.85rem;
    color: #d2cbbe;
    text-decoration: line-through;
    opacity: 0.9;
}

/* ========================================================
   PHONE FRAME MOCKUP FOR ALL TEMPLATE CARDS
   ======================================================== */
.template-card {
    position: relative;
    background: rgba(29, 45, 40, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(229, 190, 101, 0.35);
    border-radius: 24px;
    padding: 1.5rem 1.25rem 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

/* Template ke andar image ko phone frame jaisa look dena */
.template-image-wrapper {
    position: relative;
    width: 240px;
    height: 440px;
    background: #080c0a;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(229, 190, 101, 0.15);
    border: 3.5px solid #283e35;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Phone Speaker inside Card */
.template-image-wrapper::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3.5px;
    background: #1a2520;
    border-radius: 4px;
    z-index: 25;
}

/* Phone Island inside Card */
.template-image-wrapper::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 18px;
    background: #000;
    border-radius: 15px;
    z-index: 20;
}

.template-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.template-card:hover .template-screen-img {
    transform: scale(1.05);
}

/* Badges alignment for phone frame cards */
.new-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #0f1714;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    z-index: 30;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    z-index: 30;
}

/* Price text color fixed to black with gold background */
.price-tag, 
.festive-glow, 
.template-card:hover .price-tag, 
.template-card:hover .festive-glow {
    color: #0F1714 !important;
    background: var(--accent-gold);
    font-weight: 700 !important;
    text-shadow: none !important;
}

.original-price {
    font-size: 0.85rem;
    color: #d2cbbe;
    text-decoration: line-through;
    opacity: 0.9;
}