:root {
    --cream: #f6f3ed;
    --gold: #f1cb7d;
    --ink: #080c0b;
    --muted: #c6c2bc;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #f2f1ee;
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
.site-shell {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    /*border-radius: 20px 20px 0 0;*/
}
.hero {
    height: 100vh;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 49% 31%,
            rgba(157, 107, 57, 0.28),
            transparent 25%
        ),
        radial-gradient(
            circle at 16% 37%,
            rgba(107, 56, 19, 0.34),
            transparent 31%
        ),
        linear-gradient(90deg, #20150c 0%, #070c0b 38%, #071110 70%, #0d0a06);
}
.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.2),
            transparent 40%,
            transparent 70%,
            rgba(0, 0, 0, 0.38)
        ),
        linear-gradient(0deg, rgba(12, 7, 3, 0.75), transparent 30%);
    z-index: -1;
}
.nav {
    position: absolute;
    inset: 18px 8.5% auto;
    height: 55px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    z-index: 4;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-logo-img {
    height: 100px; /* Best size for desktop navbars */
    width: auto;  /* Keeps the aspect ratio perfectly square/rectangular */
    object-fit: contain;
}

/* Only applies to the hero section logo */
.hero .nav-logo-img {
    filter: brightness(0) invert(1); /* Turns the image pure white */
}




.logo-mark {
    font-family: Arial;
    color: var(--gold);
    font-size: 28px;
}
.nav-links {
    display: flex;
    gap: 32px;
    margin: auto;
    font-size: 12px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
}
.outline-button {
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
}
.hero-copy h1,
.automate {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: -5px;
}
.copy-top {
    position: absolute;
    top: 140px;
    left: 8.5%;
    z-index: 2;
}
.copy-top h1 {
    font-size: 82px;
}
.review-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #151c1a;
    border-radius: 20px;
    padding: 5px 12px 5px 5px;
    width: max-content;
    margin-top: 6px;
}
.faces {
    display: flex;
}
.faces i {
    display: block;
    width: 22px;
    height: 22px;
    margin-right: -6px;
    border: 1px solid #ffd1aa;
    border-radius: 50%;
    background: linear-gradient(135deg, #c36a41, #ffe0b6 55%, #55291c);
}
.faces i:nth-child(2) {
    background: linear-gradient(135deg, #d9855c, #6e3125);
}
.faces i:nth-child(3) {
    background: linear-gradient(135deg, #efc591, #923e2b);
}
.portrait {
    position: absolute;
    width: 1050px;
    height: 820px;
    border-radius: 30px;
    left: 50%;
    top: 104px;
    transform: translateX(-50%);
    z-index: 1;
    overflow: hidden;
    filter: drop-shadow(0 0 45px rgba(212, 141, 65, 0.16));
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: sepia(0.14) saturate(0.84) contrast(1.06);
    mask-image: linear-gradient(to bottom, #000 75%, transparent);
}
.portrait:after {
    content: "";
    position: absolute;
    inset: 0;
    /*background:
        linear-gradient(0deg, #160d06 0%, transparent 25%),
        linear-gradient(
            90deg,
            rgba(5, 7, 6, 0.45),
            transparent 18%,
            transparent 80%,
            rgba(5, 7, 6, 0.55)
        );*/
}
/*.portrait img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    object-position: center;
    filter: sepia(0.14) saturate(0.84) contrast(1.06);
    mask-image: linear-gradient(to bottom, #000 75%, transparent);
}*/

.automate-block {
    position: absolute;
    top: 315px;
    right: 8%;
    z-index: 2;
    text-align: right;
    max-width: 340px;
}

.automate {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: -5px;
    font-size: 79px;
    line-height: 1;
}

.automate-tagline {
    margin: 14px 0 0 auto;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    letter-spacing: 0.2px;
    max-width: 280px;
}

.automate-tagline::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 0 12px auto;
    opacity: 0.7;
}
.conversation {
    position: absolute;
    z-index: 3;
    left: 8.5%;
    bottom: 84px;
    width: 278px;
    padding: 17px;
    border: 1px solid rgba(221, 177, 103, 0.25);
    border-radius: 17px;
    background: rgba(38, 29, 20, 0.6);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 3px rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(8px);
}
.conversation header {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mic-small {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #332719;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 23px;
}
.conversation header div:nth-child(2) {
    margin-left: 10px;
}
.conversation strong {
    font-size: 14px;
    font-weight: 500;
    display: block;
}
.conversation small {
    display: block;
    font-size: 9px;
    color: #bcb2a4;
    margin-top: 4px;
}
.conversation small b {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #e9c059;
    border-radius: 50%;
    margin-right: 4px;
}
.timer {
    margin-left: auto;
    font-size: 28px;
    line-height: 0.8;
    text-align: right;
}
.timer small {
    text-align: right;
}
.chat {
    padding: 17px 0 7px;
}
.chat label {
    display: block;
    font-size: 9px;
    color: #bfb5a9;
    margin-bottom: 7px;
}
.chat .right {
    text-align: right;
    margin-top: 17px;
}
.chat p {
    font-size: 11px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(240, 205, 144, 0.11);
    border-radius: 11px;
    color: #dbd4cb;
}
.message {
    display: flex;
    gap: 9px;
    align-items: center;
}
.message > span {
    font-size: 22px;
}
.message div {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 9px;
    padding: 12px;
    font-size: 11px;
    color: #c5bcb0;
}
.message button {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #efc977;
    width: 42px;
    height: 40px;
    border-radius: 9px;
    font-size: 28px;
    font-weight: 200;
}
.copy-right {
    position: absolute;
    z-index: 3;
    width: 245px;
    right: 9%;
    bottom: 86px;
}
.copy-right p {
    font-size: 16px;
    line-height: 1.25;
    color: #dedad6;
    margin: 0 0 23px;
}
.gold-button {
    display: inline-block;
    color: #17130d;
    background: linear-gradient(135deg, #f9daa0, #e5b95e);
    border-radius: 24px;
    padding: 13px 24px;
    font-size: 12px;
    font-weight: 600;
}
.listen {
    position: absolute;
    z-index: 3;
    bottom: 33px;
    left: 50%;
    transform: translateX(-50%);
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}
.listen span {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: auto;
    font-size: 37px;
    background: radial-gradient(
        circle,
        #292015 3%,
        #d1a54d 53%,
        #f7d991 57%,
        #1e1911 63%
    );
    border: 1px solid #f2cd82;
    box-shadow: 0 0 22px #d49d45;
}
.trusted {
    height: 170px;
    /*background: #f8f7f4;*/
    color: #aaa7a2;
    padding-top: 78px;
    text-align: center;
    overflow: hidden;
}
.trusted p {
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 27px;
    letter-spacing: 1.5px;
}

.industry-row {
    display: flex;
    justify-content: center;
    font-family: 'Playfair Display';
    text-transform: uppercase;
    letter-spacing: 1.8px;
    align-items: center;
    gap: 24px;
    font-size: 18px;
    font-weight: 500;
    color: #7a7a78;
    /*font-family: "DM Sans", Arial, sans-serif;*/
}

.industry-row i {
    font-style: normal;
    color: var(--gold);
    font-size: 14px;
    opacity: 0.8;
}

.brand-row {
    display: flex;
    justify-content: space-around;
    gap: 33px;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 600;
    color: #b9b8b5;
}

/* --- Pricing Section --- */
.pricing {
    background: #f2f1ee;
    text-align: center;
}

.pricing-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8c8579;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-header h2 {
    color: #08101d;
    margin-bottom: 20px;
}

.price_header{
     color: #08101d !important;
}

.section-desc {
    font-size: 16px;
    color: #535961;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center; /* Centers the featured card vertically */
}

.pricing-card {
    background: #fff;
    border: 1px solid #e1dfdc;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

/* The Featured Card */
.pricing-card.featured {
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, #fff 0%, #fffdf8 100%);
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(241, 203, 125, 0.15);
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold);
    color: #17130d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
}

.pricing-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    margin: 0 0 10px;
    color: #08101d;
}

.plan-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

.price {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 54px;
    color: #08101d;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.currency {
    font-size: 24px;
    margin-top: 8px;
    margin-right: 4px;
}

.period {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    color: #6b7280;
    letter-spacing: 0;
    margin-top: auto;
    margin-bottom: 8px;
    margin-left: 4px;
}

.pricing-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    transition: all 0.2s;
}

.outline-button.pricing-btn {
    border: 1px solid #dcd9d3;
    color: #08101d;
}

.outline-button.pricing-btn:hover {
    border-color: #08101d;
    background: #08101d;
    color: #fff;
}

.gold-button.pricing-btn:hover {
    background: linear-gradient(135deg, #e5b95e, #d4a54e);
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e1dfdc;
    padding-top: 25px;
}

.features li {
    font-size: 14px;
    color: #4e5359;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li span {
    color: var(--gold);
    font-weight: bold;
}

.features li em {
    font-style: normal;
    color: #b08b46; /* Slightly darker gold for emphasis */
    font-weight: 600;
}


 /*AUTH STYLES START */
 /* --- Auth Pages Layout --- */
 .auth-body {
     background: #f6f3ed;
     color: var(--ink);
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0;
     padding: 20px;
 }

 .auth-container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     width: 100%;
     max-width: 1200px;
     min-height: 750px;
     background: #fff;
     border-radius: 24px;
     overflow: hidden;
     box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
 }

 /* --- Left Side: Brand Panel --- */
 .auth-brand-panel {
     background:
         radial-gradient(circle at 30% 20%, rgba(157, 107, 57, 0.25), transparent 40%),
         linear-gradient(135deg, #20150c 0%, #070c0b 100%);
     padding: 50px;
     display: flex;
     flex-direction: column;
     position: relative;
     overflow: hidden;
 }

 .auth-brand-panel .logo {
     margin: 0 auto;
 }

 .auth-brand-content {
     margin: auto 0;
     z-index: 2;
 }

 .auth-brand-content h1 {
     font-family: "Playfair Display", serif;
     font-size: 46px;
     line-height: 1.1;
     color: #fff;
     margin: 0 0 20px;
     letter-spacing: -1.5px;
 }

 .auth-brand-content > p {
     font-size: 16px;
     color: var(--muted);
     line-height: 1.6;
     max-width: 400px;
     margin-bottom: 50px;
 }

 .auth-quote {
     background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(255, 255, 255, 0.1);
     padding: 24px;
     border-radius: 16px;
     backdrop-filter: blur(10px);
 }

 .auth-quote p {
     font-size: 15px;
     color: #dedad6;
     line-height: 1.5;
     margin: 0 0 20px;
     font-style: italic;
 }

 .quote-author {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .quote-avatar {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: linear-gradient(135deg, #c36a41, #ffe0b6);
     border: 1px solid rgba(255, 255, 255, 0.2);
 }

 .quote-author strong {
     display: block;
     color: #fff;
     font-size: 13px;
 }

 .quote-author small {
     display: block;
     color: #aeb8c3;
     font-size: 11px;
     margin-top: 2px;
 }

 .auth-footer {
     color: #6b7280;
     font-size: 12px;
     z-index: 2;
 }

 /* --- Right Side: Form Panel --- */
 .auth-form-panel {
     padding: 60px;
     display: flex;
     align-items: center;
     justify-content: center;
     background: #fff;
 }

 .auth-form-wrapper {
     width: 100%;
     max-width: 400px;
 }

 .auth-header {
     margin-bottom: 30px;
 }

 .auth-header h2 {
     font-family: "Playfair Display", serif;
     font-size: 36px;
     color: var(--ink);
     margin: 0 0 10px;
     letter-spacing: -1px;
 }

 .auth-header p {
     color: #6b7280;
     font-size: 15px;
     margin: 0;
 }

 /* Social Button */
 .social-btn {
     width: 100%;
     padding: 12px;
     background: #fff;
     border: 1px solid #dcd9d3;
     border-radius: 8px;
     font-family: "DM Sans", sans-serif;
     font-size: 14px;
     font-weight: 500;
     color: var(--ink);
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     cursor: pointer;
     transition: background 0.2s;
 }

 .social-btn:hover {
     background: #f8f7f4;
 }

 /* Divider */
 .auth-divider {
     display: flex;
     align-items: center;
     text-align: center;
     margin: 25px 0;
     color: #9ca3af;
     font-size: 12px;
 }

 .auth-divider::before,
 .auth-divider::after {
     content: '';
     flex: 1;
     border-bottom: 1px solid #e5e7eb;
 }

 .auth-divider span {
     padding: 0 15px;
 }

 /* Form Inputs */
 .auth-form {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .input-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 15px;
 }

 .input-group {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .input-group label {
     font-size: 13px;
     font-weight: 600;
     color: var(--ink);
 }

 .input-group input {
     padding: 14px 16px;
     border: 1px solid #dcd9d3;
     border-radius: 8px;
     font-family: "DM Sans", sans-serif;
     font-size: 15px;
     color: var(--ink);
     transition: border-color 0.2s, box-shadow 0.2s;
     background: #fdfdfd;
 }

 .input-group input:focus {
     outline: none;
     border-color: var(--gold);
     box-shadow: 0 0 0 3px rgba(241, 203, 125, 0.2);
 }

 .input-group input::placeholder {
     color: #9ca3af;
 }

 .password-hint {
     font-size: 11px;
     color: #6b7280;
 }

 .full-width {
     width: 100%;
     padding: 16px;
     font-size: 15px;
     margin-top: 10px;
     border: none;
     cursor: pointer;
     border-radius: 8px;
 }

 .auth-switch {
     text-align: center;
     margin-top: 30px;
     font-size: 14px;
     color: #6b7280;
 }

 .auth-switch a {
     color: var(--ink);
     font-weight: 600;
     text-decoration: none;
     border-bottom: 1px solid var(--ink);
     padding-bottom: 2px;
 }

 .auth-switch a:hover {
     color: var(--gold);
     border-color: var(--gold);
 }

 /* --- Mobile Responsiveness --- */
 @media (max-width: 900px) {
     .auth-container {
         grid-template-columns: 1fr;
         max-width: 500px;
         min-height: auto;
     }

     .auth-brand-panel {
         display: none; /* Hide the dark panel on mobile to save space */
     }

     .auth-form-panel {
         padding: 40px 30px;
     }
 }

 /*AUTH SYTES END */

 /* START  DASHBOARD STYLES*/
 /* =========================================
    1. GLOBAL DASHBOARD BASE & VARIABLES
    ========================================= */
    /* START DASHBOARD STYLES */
    .dashboard-body {
        background: radial-gradient(circle at top right, #fffdf8, #f8f7f4 40%, #f0efeb);
        margin: 0;
        font-family: "DM Sans", sans-serif;
        color: var(--ink);
        height: 100vh;
        overflow: hidden;
    }

    .dashboard-layout {
        display: flex;
        height: 100vh;
    }

    /* Sidebar */
    .sidebar {
        width: 260px;
        background: #fff;
        border-right: 1px solid #e1dfdc;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 0 15px rgba(0,0,0,0.02);
        z-index: 10;
        height: 100vh;
        flex-shrink: 0;
    }
    .sidebar .logo {
        font-family: "Playfair Display", serif;
        font-size: 24px;
        color: var(--ink);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 30px 20px 20px 20px;
        border-bottom: 1px solid #f0efeb;
        margin-bottom: 15px;
    }
    .sidebar-scroll {
        flex: 1;
        overflow-y: auto;
        padding: 0 15px;
    }
    .sidebar-scroll::-webkit-scrollbar { width: 4px; }
    .sidebar-scroll::-webkit-scrollbar-thumb { background: #dcd9d3; border-radius: 4px; }
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-bottom: 20px;
    }
    .nav-category {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .category-title {
        font-size: 10px;
        font-weight: 700;
        color: #9ca3af;
        letter-spacing: 1.5px;
        margin-bottom: 6px;
        padding-left: 12px;
        display: block;
    }
    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        color: #6b7280;
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.2s;
    }
    .sidebar-nav a:hover,
    .sidebar-nav a.active {
        background: #f2f1ee;
        color: var(--ink);
        box-shadow: inset 2px 0 0 var(--gold);
    }
    .sidebar-nav a svg { color: #9ca3af; flex-shrink: 0; transition: color 0.2s; }
    .sidebar-nav a:hover svg,
    .sidebar-nav a.active svg { color: var(--ink); }
    .nav-badge {
        margin-left: auto;
        background: #ef4444;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
    }
    .sidebar-upgrade {
        background: linear-gradient(135deg, #20150c, #0d0a06);
        padding: 20px;
        border-radius: 12px;
        margin: 15px;
        color: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        flex-shrink: 0;
    }
    .sidebar-upgrade h4 { margin: 0 0 8px; font-size: 14px; }
    .sidebar-upgrade p { font-size: 12px; color: #aeb8c3; margin: 0 0 15px; line-height: 1.4; }
    .sidebar-upgrade .gold-button { display: block; text-align: center; padding: 10px; font-size: 12px; }
    .sidebar-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-top: 1px solid #e1dfdc;
        flex-shrink: 0;
    }
    .sidebar-footer a { font-size: 13px; color: #6b7280; text-decoration: none; }

    /* Main Content */
    .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .dashboard-header {
        height: 70px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid #e1dfdc;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        flex-shrink: 0;
        z-index: 5;
    }
    .search-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #f8f7f4;
        padding: 10px 16px;
        border-radius: 30px;
        width: 350px;
        border: 1px solid #e1dfdc;
        transition: all 0.2s;
    }
    .search-bar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(241, 203, 125, 0.2); }
    .search-bar input { border: none; background: transparent; outline: none; width: 100%; font-family: inherit; font-size: 14px; }
    .header-actions { display: flex; align-items: center; gap: 24px; }
    .user-profile { display: flex; align-items: center; gap: 12px; }
    .avatar {
        width: 40px; height: 40px; background: var(--gold); color: #17130d;
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-weight: 700; font-size: 14px; box-shadow: 0 2px 10px rgba(241, 203, 125, 0.4);
    }
    .user-info strong { display: block; font-size: 14px; }
    .user-info small { display: block; font-size: 12px; color: #6b7280; }

    .dashboard-content {
        padding: 40px;
        overflow-y: auto;
        flex: 1;
    }
    .page-title-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 30px;
    }
    .page-title-row h1 { font-family: "Playfair Display", serif; font-size: 32px; margin: 0 0 8px; letter-spacing: -1px; }
    .page-title-row p { margin: 0; color: #6b7280; font-size: 15px; }

    /* THE FIX: Explicit Grid Layouts */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }
    .stat-card {
        background: #fff;
        border: 1px solid #e1dfdc;
        border-radius: 16px;
        padding: 24px;
        display: flex;
        gap: 16px;
        align-items: flex-start;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 10px 20px rgba(0,0,0,0.03);
    }
    .stat-icon {
        font-size: 24px;
        background: #f8f7f4;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .stat-info small { display: block; font-size: 11px; font-weight: 600; color: #8c8579; letter-spacing: 1px; margin-bottom: 6px; }
    .stat-info strong { display: block; font-family: "Playfair Display", serif; font-size: 28px; margin-bottom: 6px; }
    .trend { font-size: 12px; font-weight: 500; }
    .trend.positive { color: #10b981; }
    .trend.negative { color: #ef4444; }
    .trend.neutral { color: #6b7280; }

    .dashboard-split {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 24px;
    }
    .panel {
        background: #fff;
        border: 1px solid #e1dfdc;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 10px 25px rgba(0,0,0,0.03);
    }
    .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .panel-header h3 { font-family: "Playfair Display", serif; font-size: 20px; margin: 0; }
    .text-link { font-size: 13px; color: var(--gold); text-decoration: none; font-weight: 600; }

    .data-table { width: 100%; border-collapse: collapse; }
    .data-table th { text-align: left; font-size: 12px; color: #8c8579; font-weight: 500; padding-bottom: 16px; border-bottom: 1px solid #f2f1ee; }
    .data-table td { padding: 16px 0; border-bottom: 1px solid #f2f1ee; font-size: 14px; }
    .table-user { display: flex; align-items: center; gap: 12px; }
    .table-avatar {
        width: 36px; height: 36px; background: #f2f1ee; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 12px; font-weight: 600; color: #6b7280; flex-shrink: 0;
    }
    .table-user small { display: block; color: #9ca3af; font-size: 12px; margin-top: 2px; }

    .status { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
    .status.success, .status.active { background: #ecfdf5; color: #10b981; }
    .status.warning { background: #fffbeb; color: #f59e0b; }
    .status.inactive { background: #f3f4f6; color: #6b7280; }
    .status.danger { background: #fef2f2; color: #ef4444; }

    .play-btn {
        background: #fff; border: 1px solid #e1dfdc; border-radius: 50%;
        width: 32px; height: 32px; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        font-size: 10px; color: var(--ink); padding-left: 2px; transition: all 0.2s;
    }
    .play-btn:hover { background: var(--gold); border-color: var(--gold); }

    .btn-primary { background: var(--gold); color: var(--ink); border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; }
    .btn-primary:hover { background: #e5b95e; }
    .btn-outline { background: #fff; border: 1px solid #dcd9d3; color: var(--ink); padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; }
    .btn-outline:hover { border-color: var(--ink); }

    /* Mobile Dashboard */
    @media (max-width: 1100px) {
        .stats-grid { grid-template-columns: repeat(2, 1fr); }
        .dashboard-split { grid-template-columns: 1fr; }
    }
    @media (max-width: 900px) {
        .sidebar { display: none; }
        .dashboard-header { padding: 0 20px; }
        .search-bar { display: none; }
        .dashboard-content { padding: 20px; }
        .page-title-row { flex-direction: column; align-items: flex-start; gap: 15px; }
        .stats-grid { grid-template-columns: 1fr; }
    }
    /* END DASHBOARD STYLES */

/* END DASHBOARD END*/


/*ONBOADING START*/

/* =========================================
   ONBOARDING CHECKLIST STYLES
   ========================================= */
.onboarding-panel {
    max-width: 900px; /* Keeps the checklist from getting too wide */
    padding: 40px;
}

.onboarding-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f2f1ee;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.progress-track {
    width: 150px;
    height: 8px;
    background: #e1dfdc;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e5b95e, var(--gold));
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* Checklist Items */
.checklist {
    display: flex;
    flex-direction: column;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

/* Highlight the active step */
.checklist-item.active-step {
    background: #fffdf8;
    border-color: rgba(241, 203, 125, 0.4);
    box-shadow: 0 4px 15px rgba(241, 203, 125, 0.08);
}

/* Checkbox / Circle Icon */
.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #dcd9d3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Style for completed steps */
.checklist-item.completed .check-icon {
    background: #10b981; /* Green */
    border-color: #10b981;
    color: #fff;
}

.checklist-item.completed .check-content strong {
    color: #6b7280;
    text-decoration: line-through;
}

/* Content */
.check-content {
    flex: 1;
}

.check-content strong {
    display: block;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.check-content p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Button Sizes */
.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

/* Hover effect on pending steps */
.checklist-item:not(.completed):hover {
    background: #fcfcfb;
}

.checklist-item:not(.completed):hover .btn-outline {
    border-color: var(--ink);
    color: var(--ink);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .onboarding-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .checklist-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .check-icon {
        margin-bottom: 12px;
    }

    .btn-small {
        width: 100%;
        margin-top: 15px;
    }
}


/*new codes start*/

/* =========================================
   ONBOARDING WIZARD STYLES
   ========================================= */
.onboarding-body {
    background: radial-gradient(circle at top right, #fffdf8, #f8f7f4 40%, #f0efeb);
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.onboarding-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Progress Bar */
.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
}

.onboarding-header .logo {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 200px;
}

.progress-bar-track {
    width: 100%;
    height: 6px;
    background: #e1dfdc;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skip-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}
.skip-link:hover { color: var(--ink); }

/* Wizard Card */
.onboarding-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid #e1dfdc;
    margin: 20px 40px 60px;
    padding: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Step Layout */
.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}
.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-text {
    margin-bottom: 40px;
    text-align: center;
}
.wizard-text h1 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    margin: 5px 0 12px;
    letter-spacing: -1px;
}
.wizard-text p {
    color: #6b7280;
    font-size: 16px;
    margin: 0 auto;
    max-width: 500px;
    line-height: 1.5;
}

/* Forms */
.onboarding-form {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.input-group select {
    padding: 14px 16px;
    border: 1px solid #dcd9d3;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: #fdfdfd;
    cursor: pointer;
}

/* Step 2: Upload Grid */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 650px;
    margin: 0 auto 30px;
}

.upload-box {
    border: 2px dashed #dcd9d3;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.upload-box:hover {
    border-color: var(--gold);
    background: #fffdf8;
}
.upload-box svg { color: #9ca3af; }
.upload-box strong {
    font-size: 14px;
    color: var(--ink);
}
.upload-box small {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* Step 3: Number Picker */
.number-picker {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}
.number-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e1dfdc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fdfdfd;
}
.number-option:hover { border-color: var(--gold); }
.number-option.selected {
    border-color: var(--gold);
    background: #fffdf8;
    box-shadow: 0 0 0 1px var(--gold);
}
.number-option input[type="radio"] { display: none; } /* Hide default radio */
.number-option .num-details strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}
.number-option .num-details small {
    color: #6b7280;
    font-size: 13px;
}
.number-option .price {
    font-weight: 600;
    color: #10b981;
}

/* Step 4: Routing Options */
.routing-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}
.routing-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e1dfdc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fdfdfd;
}
.routing-card:hover { border-color: var(--gold); }
.routing-card input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
}
.routing-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.routing-card small { color: #6b7280; font-size: 13px; line-height: 1.4; display: block; }

/* Actions */
.wizard-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    max-width: 450px;
    margin: 30px auto 0;
}
.wizard-actions button { flex: 1; }
.full-width { width: 100%; }

/* Responsive */
@media (max-width: 768px) {
    .onboarding-header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    .onboarding-card {
        padding: 30px 20px;
        margin: 10px 20px 40px;
    }
    .wizard-text h1 { font-size: 28px; }
    .upload-grid { grid-template-columns: 1fr; }
    .input-row { grid-template-columns: 1fr; }
    .wizard-actions { flex-direction: column; }
}
/*new code end*/


/* =========================================
   ONBOARDING MODAL & CHECKLIST
   ========================================= */

/* The dark background overlay */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 12, 11, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 999999 !important;
    display: none; /* JS will change this to flex */
    align-items: center !important;
    justify-content: center !important;
}

/* The white modal box */
.modal-content {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 650px !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    margin: 0 !important;
}

@keyframes modalPop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Header & Close button */
.onboarding-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modal-close {
    background: #f8f7f4;
    border: 1px solid #e1dfdc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #ef4444;
    color: #fff;
}

/* Progress bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: #e1dfdc;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 4px;
}

/* The Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

/* =========================================
   PREMIUM HEADER & DROPDOWN
   ========================================= */
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger-btn:hover {
    background: #f2f1ee;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f7f4;
    padding: 10px 16px;
    border-radius: 30px;
    width: 350px;
    border: 1px solid #e1dfdc;
    transition: all 0.2s;
}
.search-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(241, 203, 125, 0.2);
    background: #fff;
}
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-balance {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    background: #f8f7f4;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e1dfdc;
}
.icon-btn {
    background: #fff;
    border: 1px solid #e1dfdc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}
.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff; /* Creates a cutout effect */
    animation: pulse 2s infinite;
}
details[open] summary svg {
    transform: rotate(180deg);
}
details summary::-webkit-details-marker {
    display: none;
}

.icon-btn:hover {
    border-color: var(--gold);
    color: var(--ink);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 30px;
    transition: background 0.2s;
}
.user-profile-btn:hover {
    background: #f8f7f4;
}
.avatar {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: #17130d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(241, 203, 125, 0.4);
}
.user-info {
    text-align: left;
    margin-right: 8px;
}
.user-info strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}
.user-info small {
    display: block;
    font-size: 12px;
    color: #6b7280;
}
.chevron {
    color: #9ca3af;
    transition: transform 0.2s;
}
.user-dropdown.active .chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid #e1dfdc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}
.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}
.dropdown-menu a:hover {
    background: #f8f7f4;
}
.dropdown-menu .divider {
    height: 1px;
    background: #e1dfdc;
    margin: 8px 0;
}
.dropdown-menu .text-danger {
    color: #ef4444;
}
.dropdown-menu .text-danger:hover {
    background: #fef2f2;
}
@media (max-width: 900px) {
    .sidebar {
        display: flex !important; /* Override the previous display: none */
        position: fixed;
        top: 0;
        left: -260px;
        height: 100vh;
        transition: left 0.3s ease;
    }
    .sidebar.mobile-open {
        left: 0;
    }
}
/* Mobile Adjustments */
@media (max-width: 900px) {
    .hamburger-btn {
        display: flex;
    }
    .search-bar {
        display: none; /* Hide search on mobile to save space */
    }
    .user-info, .chevron {
        display: none; /* Only show avatar on mobile */
    }
    .user-profile-btn {
        padding: 2px;
    }
    .header-balance {
        display: none; /* Hide balance on mobile */
    }
}

/* Active (Next step) */
.checklist-item.active-step {
    background: #fffdf8;
    border-color: rgba(241, 203, 125, 0.4);
    box-shadow: 0 4px 15px rgba(241, 203, 125, 0.08);
}

/* Completed step */
.checklist-item.completed {
    opacity: 0.8;
}
.checklist-item.completed .check-content strong {
    text-decoration: line-through;
    color: #6b7280;
}

/* Locked step */
.checklist-item.locked {
    opacity: 0.5;
    background: #fcfcfb;
}

/* Checkbox circles */
.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #dcd9d3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.checklist-item.completed .check-icon {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

/* Text content */
.check-content {
    flex: 1;
}

.check-content strong {
    display: block;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 4px;
}

.check-content p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* Locked Badge */
.status.inactive {
    background: #f3f4f6;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
/*ONBAORDING END*/

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    .pricing-card.featured {
        padding: 40px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .routing-layout {
        grid-template-columns: 1fr 1fr; /* 2 columns */
        grid-template-rows: auto;
    }
    .podcast {
        grid-column: 1 / -1; /* Image spans full width */
        grid-row: 1;
        min-height: 400px;
        margin-bottom: 20px;
    }
    .floating-card.first,
    .floating-card.second,
    .floating-card.third,
    .floating-card.fourth {
        grid-column: auto;
        grid-row: auto;
        margin: 0; /* Reset margins */
        align-self: stretch;
    }
}

@media (max-width: 768px) {
    .routing-layout {
        grid-template-columns: 1fr; /* 1 column */
    }
    .podcast {
        min-height: 300px;
    }
}

@media (max-width: 900px) {
    .hero {
        height: 830px;
    }
    .nav {
        inset-inline: 5%;
    }
    .nav-links {
        display: none;
    }
    .nav-actions {
        margin-left: auto;
    }
    .copy-top {
        left: 5%;
        top: 115px;
    }
    .copy-top h1 {
        font-size: 58px;
    }
    .automate {
        right: 4%;
        top: 270px;
        /*font-size: 57px;*/
    }
    .automate {
        font-size: 57px;
    }
    .portrait {
        /*width: 420px;*/
        opacity: 0.87;
    }
    .conversation {
        left: 5%;
        bottom: 45px;
    }
    .copy-right {
        right: 5%;
        bottom: 55px;
    }
    .trusted {
        height: 130px;
        padding-top: 46px;
    }
    .brand-row {
        gap: 20px;
        justify-content: flex-start;
        animation: none;
    }
}
@media (max-width: 620px) {
    .hero {
        height: 920px;
    }
    .nav {
        top: 8px;
    }
    .nav-actions a:first-child {
        display: none;
    }
    .logo {
        font-size: 22px;
    }
    .portrait {
        /*width: 390px;*/
        top: 155px;
        left: 50%;
        height: 610px;
    }
    .headphones {
        transform: scale(0.84);
        transform-origin: top left;
    }
    .copy-top {
        top: 92px;
    }
    .copy-top h1 {
        font-size: 48px;
        letter-spacing: -3px;
    }
    .automate-block {
        top: 330px;
        right: 4%;
        max-width: 200px;
    }
    .automate {
        font-size: 47px;
        letter-spacing: -3px;
    }
    .automate-tagline {
        font-size: 11px;
        margin-top: 8px;
    }
    .conversation {
        bottom: 23px;
        transform: scale(0.82);
        transform-origin: bottom left;
    }
    .copy-right {
        right: 4%;
        bottom: 57px;
        width: 155px;
    }
    .copy-right p {
        font-size: 12px;
    }
    .gold-button {
        padding: 10px 15px;
    }
    .listen {
        width: 88px;
        height: 88px;
        bottom: 35px;
    }
    .listen span {
        width: 57px;
        height: 57px;
        font-size: 25px;
    }
    .trusted {
        padding-top: 39px;
    }
    .brand-row {
        font-size: 13px;
    }
}
.section-pad {
    padding: 110px max(8.5%, 30px);
    background: #f3f2ef;
    color: #08101d;
}
.section-pad h2,
footer h2 {
    font:
        400 clamp(44px, 5.2vw, 76px)/0.96 "Playfair Display",
        Georgia,
        serif;
    letter-spacing: -3px;
    margin: 0;
}
.results {
    padding-top: 105px;
}
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
}
.metrics article {
    min-height: 220px;
    padding: 0 28px;
    border-left: 1px solid #dcd9d3;
}
.metrics small,
.steps small {
    font-size: 12px;
    color: #535961;
}
.metrics strong {
    display: block;
    font:
        400 75px/1 "Playfair Display",
        serif;
    margin: 14px 0 60px;
    letter-spacing: -4px;
}
.metrics p,
.steps p,
.feature-grid p,
.floating-card p,
.case-grid p {
    font-size: 16px;
    line-height: 1.75;
    color: #4e5359;
    margin: 0;
}
.process {
    padding-top: 0;
}
.center-title {
    text-align: center;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 75px;
    align-items: end;
}
.steps article {
    min-height: 240px;
    padding: 28px;
    border: 1px solid #e0dedb;
    border-radius: 18px;
    background: #fff;
}
.steps article:nth-child(2) {
    min-height: 300px;
}
.steps article:nth-child(3) {
    min-height: 365px;
}
.steps h3,
.feature-grid h3,
.floating-card h3,
.case-grid h3,
.footer-box h3 {
    font:
        400 22px "Playfair Display",
        Georgia,
        serif;
    margin: 42px 0 10px;
    letter-spacing: -1px;
}
.feature-section {
    padding-top: 0;
    overflow: hidden;
}
.marquee {
    height: 135px;
    display: flex;
    align-items: center;
    gap: 50px;
    white-space: nowrap;
    transform: translateX(-12%);
    font:
        400 75px "Playfair Display",
        serif;
    color: transparent;
    -webkit-text-stroke: 1px #7f8387;
}
.marquee span:nth-of-type(2) {
    color: #38c6b7;
    -webkit-text-stroke: 0;
}
.marquee b {
    color: #c9cccf;
    font: 55px Arial;
}
.feature-section > h2 {
    margin: 45px 0 75px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-grid article {
    background: #fff;
    border: 1px solid #e1dfdc;
    border-radius: 18px;
    padding: 28px;
    min-height: 295px;
}
.feature-grid i,
.floating-card i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8f7f4;
    color: var(--gold);
    font-style: normal;
    font-size: 24px;
    margin-bottom: 24px;
    border: 1px solid #e1dfdc;
}
.floating-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.floating-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}
.routing {
    padding-top: 55px;
    padding-bottom: 100px;
}
.routing-layout {
    position: relative;
    max-width: 1200px;
    margin: 75px auto 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; /* 3 columns: Left Cards, Center Image, Right Cards */
    grid-template-rows: 1fr 1fr;        /* 2 rows for Top and Bottom cards */
    gap: 20px;
    align-items: center;
}
.floating-card {
    background: #fff;
    border: 1px solid #e2dfdb;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.floating-card h3 {
    margin-top: 62px;
}
/* Position the cards in the grid */
.floating-card.first {
    grid-column: 1;
    grid-row: 1;
    align-self: end; /* Push to the bottom of the top row */
    margin-bottom: 20px;
}
.floating-card.second {
    grid-column: 1;
    grid-row: 2;
    align-self: start; /* Push to the top of the bottom row */
    margin-top: 20px;
}
.floating-card.third {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    margin-bottom: 20px;
}

.floating-card.fourth {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    margin-top: 20px;
}


.podcast {
    grid-column: 2;
    grid-row: 1 / span 2; /* Spans across both rows */
    height: 100%;
    min-height: 550px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.podcast img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.waves {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 42px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cases {
    padding-top: 0;
}
.cases h2 {
    margin-bottom: 70px;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.case-grid article {
    min-height: 355px;
    text-align: center;
    padding: 27px;
    background: white;
    border: 1px solid #e1dfdc;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.case-grid h3 {
    margin: 0;
}
.case-grid i {
    font-style: normal;
    font-size: 64px;
    margin: auto 0 50px;
}
.case-grid p {
    max-width: 280px;
    line-height: 1.55;
}
.case-grid a {
    color: #c7a15f;
    font-size: 14px;
    margin-top: 16px;
}
footer {
    background: #061423;
    color: #f7f7f4;
    padding: 115px 30px 30px;
    border-radius: 20px;
}
.footer-cta {
    text-align: center;
}
.footer-cta > span {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
}
.footer-cta > span:first-letter {
    color: #e9c26c;
}
.footer-cta h2 {
    font-size: clamp(55px, 7vw, 105px);
    margin: 30px 0;
}
.footer-cta p {
    line-height: 1.6;
    color: #bec4cb;
    margin-bottom: 48px;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 72px;
    margin: 78px 0;
    font:
        400 clamp(25px, 3vw, 25px) "Playfair Display",
        serif;
}
.footer-nav .active {
    color: #edcb88;
}
.footer-box {
    background: #101f30;
    border-radius: 18px;
    padding: 75px 8% 25px;
    display: grid;
    grid-template-columns: 2.5fr repeat(3, 1fr);
    gap: 55px;
    position: relative;
    margin-top: 20px;
}
.footer-box h3 {
    margin: 0 0 28px;
    font-size: 20px;
}
.footer-box > div:not(:first-child):not(.copyright) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-box > div a {
    color: #c5ccd4;
    font-size: 16px;
}
.email {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 16px 20px;
    color: #aeb8c3;
    max-width: 390px;
}
.email b {
    float: right;
    color: #fff;
    font-size: 23px;
    line-height: 0.6;
}
.social {
    font-size: 23px;
    color: #e2c074;
}
.copyright {
    grid-column: 1/-1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    color: #f2f2ed;
}
.copyright span {
    color: #b5bcc5;
}
.copyright em {
    float: right;
    font-style: normal;
    color: #bdc3ca;
}
@media (max-width: 800px) {
    .section-pad {
        padding: 70px 24px;
    }
    .metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin-top: 40px;
    }
    .metrics article {
        min-height: 170px;
        padding: 0 15px;
    }
    .metrics strong {
        font-size: 54px;
        margin: 12px 0 25px;
    }
    .steps,
    .feature-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    .steps article,
    .steps article:nth-child(2),
    .steps article:nth-child(3) {
        min-height: 0;
    }
    .steps {
        margin-top: 40px;
    }
    .feature-section > h2 {
        margin: 20px 0 40px;
    }
    .marquee {
        font-size: 48px;
        height: 90px;
    }
    .routing-layout {
        height: auto;
        margin-top: 40px;
        display: grid;
        gap: 18px;
    }
    .floating-card,
    .floating-card.first,
    .floating-card.second,
    .podcast {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 0;
    }
    .podcast {
        height: 350px;
    }
    .case-grid {
        margin-left: 0;
    }
    .case-grid article {
        min-height: 290px;
    }
    .footer-nav {
        gap: 20px;
        flex-wrap: wrap;
    }
    .footer-box {
        grid-template-columns: 1fr 1fr;
        padding: 42px 25px;
    }
    .footer-box > div:first-child {
        grid-column: 1/-1;
    }
    .copyright {
        font-size: 12px;
    }
    .copyright em {
        float: none;
        display: block;
        margin-top: 12px;
    }
    .footer-cta p br {
        display: none;
    }
}
