/*!
 * Calibrate - Professional Design System
 * AI-powered meeting intelligence platform
 * Copyright 2025 Calibrate
 */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background: #ffffff;
    --surface: #f7f8fc;
    --surface-hover: #eff1f7;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.5rem;
    --transition: all 0.2s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(to bottom, #ffffff 0%, #f7f8fc 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-block;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: var(--surface);
}

.user-info {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border-radius: var(--border-radius);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

/* Footer */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 6rem;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero .subhead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    line-height: 1.2;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    font-weight: 600;
}

.nav-links .btn-primary {
    padding: 0.65rem 1.25rem;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    background: var(--primary-gradient);
    color: white !important;
}

.nav-links .btn-primary:hover {
    background: var(--primary-gradient);
    color: white !important;
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--primary-color);
}

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

.btn-danger:hover {
    background: #dc2626;
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    min-height: 52px;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Features */
.features {
    padding: 4rem 0;
    background: var(--surface);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

/* Hover state removed for non-button feature cards */

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 4rem 0;
    text-align: center;
    background: white;
}

.pricing h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.price-card {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--primary-gradient);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 3.5rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.trial-badge {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-card ul {
    list-style: none;
    margin: 2rem 0 2.5rem;
    text-align: left;
    padding: 0 1rem;
}

.price-card li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
}

.price-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.price-card .btn-primary {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Benefits */
.benefits {
    padding: 4rem 0;
    background: var(--surface);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.benefit-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.benefit-list li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

/* Dashboard */
.welcome-message {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.welcome-message p {
    margin: 0;
    font-size: 1.25rem;
}

.welcome-message .email {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.dashboard-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.status-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

/* Hover state removed for non-button status cards */

.status-card h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.status-card .status {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.status-active {
    color: var(--success-color);
}

.status-inactive {
    color: var(--danger-color);
}

.status-connected {
    color: var(--success-color);
}

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

/* Events Section */
.upcoming-events {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

.section-header .tooltip {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.upcoming-events h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: flex;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    align-items: center;
}

/* Hover state removed for non-button event cards */

.event-time {
    min-width: 120px;
    margin-right: 2rem;
    text-align: center;
    padding-right: 2rem;
    border-right: 2px solid var(--border);
}

.event-time .date {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-time .time {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.event-details {
    flex: 1;
}

.event-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.event-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--success-color);
    color: white;
}

.badge-pending {
    background: var(--warning-color);
}

.badge-error {
    background: var(--danger-color);
}

/* Connect Calendar Prompt */
.connect-calendar-prompt {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border);
}

.connect-calendar-prompt p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Settings */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
}

.settings-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.settings-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.connection-status,
.subscription-info,
.account-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--border-radius);
}

.danger-zone {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--danger-color);
}

.danger-zone h3 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

/* Profile */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    background: var(--primary-gradient);
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.profile-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.profile-meta {
    opacity: 0.9;
}

.profile-meta span {
    margin-right: 2rem;
}

.profile-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.profile-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.iq-range {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.range-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.range-value {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confidence-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--success-color);
    color: white;
}

.confidence-badge.medium {
    background: var(--warning-color);
}

.confidence-badge.low {
    background: var(--danger-color);
}

.assessment-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* OCEAN Scores */
.ocean-scores {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trait {
    display: grid;
    grid-template-columns: 150px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.trait label {
    font-weight: 600;
    color: var(--text-primary);
}

.score-bar {
    background: var(--surface);
    height: 35px;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.score-fill {
    background: var(--primary-gradient);
    height: 100%;
    transition: width 0.5s ease;
    position: relative;
}

.trait .score {
    font-weight: bold;
    text-align: right;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Evidence */
.evidence-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.evidence-item {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.evidence-item blockquote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.evidence-item cite {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.source-list {
    list-style: none;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.source-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.source-list li:last-child {
    border-bottom: none;
}

.source-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.source-list a:hover {
    text-decoration: underline;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Recent Profiles */
.recent-profiles h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Utility classes */
.no-events,
.no-profiles {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border);
}

.small {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Loading States */
.loading {
    position: relative !important;
    pointer-events: none;
}

/* Hide button text when loading */
.btn.loading,
.btn-link.loading {
    color: transparent !important;
}

.btn.loading .btn-text,
.btn-link.loading .btn-text {
    visibility: hidden;
}

/* Loading spinner */
.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Primary button loading spinner */
.btn-primary.loading::after {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
}

/* Secondary/link button loading spinner */
.btn-secondary.loading::after,
.btn-link.loading::after {
    border-color: var(--border);
    border-top-color: var(--primary-color);
}

/* Larger spinner for large buttons */
.btn-large.loading::after {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

/* Smaller spinner for small buttons */
.btn-small.loading::after {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tooltips */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Success/Error Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.message-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subhead {
        font-size: 1.125rem;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-grid,
    .dashboard-header {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-time {
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .trait {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .trait label {
        margin-bottom: 0.5rem;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-brand a {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .status-card {
        padding: 1.25rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .profile-actions {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .profile-header {
        background: none;
        color: var(--text-primary);
        border: 1px solid var(--border);
    }
    
    .score-fill {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* Benefits Highlight Section */
.benefits-highlight {
    padding: 5rem 0;
    background: white;
}

.benefits-highlight h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border);
}

/* Hover state removed for non-button benefit cards */

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--surface);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

/* Hover state removed for non-button testimonial cards */

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.testimonial-author {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.testimonial-author span {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: white;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

/* Hover state removed for non-button FAQ items */

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta .cta-section {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .final-cta .cta-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.final-cta h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.final-cta .cta-section {
    margin-bottom: 0;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary:hover {
    background: var(--surface);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-subtext {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
    margin: 0;
    padding-top: 0.85rem;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card,
    .testimonial-card {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .final-cta p {
        font-size: 1.1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
}