:root {
    /* Material Design 3 Color Palette */
    --md-primary: #6750A4;
    --md-primary-container: #EADDFF;
    --md-on-primary: #FFFFFF;
    --md-on-primary-container: #21005E;

    --md-secondary: #625B71;
    --md-secondary-container: #E8DEF8;
    --md-on-secondary: #FFFFFF;
    --md-on-secondary-container: #1E192B;

    --md-tertiary: #7D5260;
    --md-tertiary-container: #FFD8E4;
    --md-on-tertiary: #FFFFFF;
    --md-on-tertiary-container: #370B1E;

    --md-surface: #FEF7FF;
    --md-surface-variant: #E7E0EC;
    --md-on-surface: #1C1B1F;
    --md-on-surface-variant: #49454F;

    --md-outline: #79747E;
    --md-outline-variant: #CAC4D0;

    /* Brand Colors (keeping for compatibility) */
    --primary: var(--md-primary);
    --primary-dark: #5A3D99;
    --secondary: var(--md-surface);
    --accent: #7C4DFF;
    --dark: #1C1B1F;
    --text-main: var(--md-on-surface);
    --text-muted: var(--md-on-surface-variant);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Gradients for new design */
    --gradient-purple: linear-gradient(135deg, #6750A4 0%, #4A3680 100%);
    --gradient-purple-dark: linear-gradient(135deg, #2D1B69 0%, #1A0F3D 100%);
    --gradient-blue: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);

    /* Backgrounds */
    --bg-body: #F7F7F7;
    --bg-card: var(--md-surface);
    --bg-sidebar: #F8F9FA;
    --bg-auth-body: #F7F7F7;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 70px;
    --sidebar-width: 240px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    /* Material Design Elevation System */
    --elevation-0: none;
    --elevation-1: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    --elevation-2: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
    --elevation-3: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
    --elevation-4: 0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
    --elevation-5: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);

    /* Card shadows for 3D effect */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 1px 8px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.15);

    /* Legacy shadows (mapped to elevation) */
    --shadow-sm: var(--elevation-1);
    --shadow-md: var(--elevation-2);
    --shadow-lg: var(--elevation-3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--bg-card);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.95rem;
    gap: 0.5rem;
    background-color: transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-login {
    background-color: #1C1B1F !important;
    color: white !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 0.75rem 2rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
    min-width: 120px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

/* Higher specificity to override .nav-links a */
.nav-links .btn-login,
a.btn-login {
    background-color: #1C1B1F !important;
    color: white !important;
}

.btn-login:hover {
    background-color: #333 !important;
    opacity: 0.9;
}



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

.btn-outline {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: white;
}

.btn-dark {
    background-color: var(--dark);
    color: white;
}

.btn-dark:hover {
    background-color: #000;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: #dbeafe;
    color: var(--primary);
}

.badge-success {
    background: #d1fae5;
    color: var(--success);
}

.badge-dark {
    background: #f1f5f9;
    color: var(--text-main);
}

/* Forms */
input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Hero Section Specifics */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background: white;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    color: var(--text-muted);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet and below (768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Navbar */
    .navbar {
        height: auto;
        min-height: var(--header-height);
    }

    .navbar .container {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo svg {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background: var(--bg-card);
        z-index: 1000;
        padding: 5rem 2rem;
        gap: 2rem;
        display: none;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        background: var(--secondary);
        font-size: 1.25rem;
        font-weight: 600;
    }

    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-main);
        padding: 0.5rem;
        z-index: 1001;
        position: relative;
    }

    /* Hero */
    .hero {
        padding: 2rem 0;
    }

    /* Grid */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Buttons */
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Cards */
    .card {
        padding: 1.25rem;
    }

    /* Forms */
    input,
    select,
    textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .card {
        padding: 1rem;
    }
}

/* Mobile Menu Toggle (hidden by default on desktop) */
.mobile-menu-toggle {
    display: none;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        gap: 2rem !important;
    }

    .nav-links a {
        width: auto !important;
        padding: 0 !important;
        background: transparent !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
    }
}

/* Personality Card Items Mobile */
@media (max-width: 768px) {
    .personality-card-item {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        text-align: center;
    }

    .personality-card-item>div:last-child {
        min-width: auto !important;
        text-align: center;
    }

    /* Blog Detail Mobile */
    .blog-detail-wrapper {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Blog Detail Desktop */
.blog-detail-wrapper {
    max-width: 800px;
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin: 0 auto;
}

/* ========================================
   NEW DESIGN SYSTEM COMPONENTS
   ======================================== */

/* 3D Credit Card Visualization */
.credit-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1.586 / 1;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    overflow: hidden;
}

.credit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.credit-card.card-amex-platinum {
    background: linear-gradient(135deg, #8B9BA7 0%, #5A6B78 100%);
}

.credit-card.card-chase {
    background: var(--gradient-blue);
}

.credit-card.card-gold {
    background: var(--gradient-gold);
}

.credit-card.card-capital-one {
    background: linear-gradient(135deg, #2C3E50 0%, #1A2332 100%);
}

.credit-card.card-citi {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

.credit-card-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #F4D03F 0%, #C9A02C 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.credit-card-number {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.credit-card-name {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credit-card-logo {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: auto;
}

/* Sidebar Navigation (Authenticated Pages) */
.auth-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-auth-body);
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #E5E7EB;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    padding: 0 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.sidebar-nav-item:hover {
    background: #E8EAED;
    color: var(--dark);
}

.sidebar-nav-item.active {
    background: var(--primary);
    color: white;
}

.sidebar-nav-item svg,
.sidebar-nav-item .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-logout {
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: auto;
}

.sidebar-logout:hover {
    color: var(--danger);
}

.auth-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.progress-bar-fill.success {
    background: var(--success);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CBD5E1;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

/* Badge Variations */
.badge-outline {
    background: transparent;
    border: 1px solid var(--md-outline-variant);
    color: var(--text-muted);
}

.badge-purple {
    background: var(--md-primary-container);
    color: var(--md-on-primary-container);
}

.badge-match {
    background: var(--success);
    color: white;
    font-weight: 700;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--elevation-5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--dark);
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: white;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.875rem;
}

.filter-pill:hover {
    border-color: #CBD5E1;
    background: #F8FAFC;
}

.filter-pill.active {
    background: #1E293B;
    color: white;
    border-color: #1E293B;
}

/* Stat Card */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Avatar */
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: white;
    font-size: 3rem;
    box-shadow: var(--elevation-2);
}

/* Card Stack (for personality and landing page) */
.card-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 280px;
}

.card-stack .credit-card {
    position: absolute;
    max-width: 340px;
}

.card-stack .credit-card:nth-child(1) {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
    z-index: 1;
}

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

.card-stack .credit-card:nth-child(3) {
    top: 40px;
    left: 60px;
    transform: rotate(-2deg);
    z-index: 3;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .auth-content {
        margin-left: 0;
        padding: 1rem;
    }

    .auth-layout {
        flex-direction: column;
    }

    .card-stack {
        height: 200px;
        max-width: 300px;
    }

    .credit-card {
        max-width: 280px;
    }
}

/* ========================================
   NEW DESIGN SYSTEM - 2024 REDESIGN
   ======================================== */

/* User Dropdown Menu */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50px;
    transition: background 0.2s;
}

.user-dropdown-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    padding: 1.5rem;
    display: none;
    z-index: 2000;
}

.user-dropdown-menu.active {
    display: block;
}

.user-dropdown-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 1rem;
}

.user-dropdown-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.user-dropdown-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.user-dropdown-menu-item:hover {
    background: #F3F4F6;
}

.user-dropdown-menu-item.logout {
    color: var(--danger);
}

.user-dropdown-menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Avatar Glow Effect */
.avatar-glow {
    position: relative;
}

.avatar-glow::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Large Avatar for Profile */
.avatar-large {
    width: 150px;
    height: 150px;
    font-size: 4rem;
}

/* 3D Card Enhancements */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(2deg);
}

/* Match Badge */
.match-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Dark Navy Background */
.bg-navy {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

/* Purple Hero Section */
.hero-purple {
    background: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 0 0 48px 48px;
}

.hero-purple h1 {
    color: white;
}

.hero-purple p {
    color: rgba(255, 255, 255, 0.9);
}

/* Feature Card */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Benefit Preview Card */
.benefit-preview {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.75rem;
}

.benefit-preview-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.benefit-preview-bar {
    height: 8px;
    background: #F3F4F6;
    border-radius: 4px;
    overflow: hidden;
}

.benefit-preview-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Toggle Switch (Enhanced) */
.toggle-switch-enhanced {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.toggle-switch-enhanced input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider-enhanced {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CBD5E1;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider-enhanced:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch-enhanced input:checked+.toggle-slider-enhanced {
    background-color: var(--primary);
}

.toggle-switch-enhanced input:checked+.toggle-slider-enhanced:before {
    transform: translateX(20px);
}

/* Section Header with Icon */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Blog Featured Card */
.blog-featured {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
}

.blog-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
}

.blog-featured-category {
    display: inline-block;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.blog-featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.blog-featured-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Blog Article Item */
.blog-article-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-article-category {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.blog-article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.blog-article-read-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Personality Option Card */
.personality-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.personality-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.personality-option.selected {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    border-color: #8B5CF6;
}

.personality-option-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.personality-option-text {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

/* Hashtag Badge */
.hashtag-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.25rem;
}

/* Card Preview in Modal */
.card-preview-pane {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.card-preview-placeholder {
    width: 80px;
    height: 80px;
    background: #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card-preview-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* AI Badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-purple {
        padding: 3rem 1.5rem;
        border-radius: 0 0 32px 32px;
    }

    .blog-featured {
        height: 300px;
    }

    .blog-featured-title {
        font-size: 1.5rem;
    }

    .avatar-large {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
}