@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes glowPulse {
    0% { box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
                     0 0 30px rgba(124, 77, 255, 0.3),
                     0 0 50px rgba(255, 64, 129, 0.2); }
    50% { box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
                      0 0 50px rgba(124, 77, 255, 0.5),
                      0 0 70px rgba(255, 64, 129, 0.4); }
    100% { box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
                       0 0 30px rgba(124, 77, 255, 0.3),
                       0 0 50px rgba(255, 64, 129, 0.2); }
}

:root {
    --primary: #7C4DFF;
    --primary-light: rgba(124, 77, 255, 0.1);
    --primary-medium: rgba(124, 77, 255, 0.2);
    --primary-strong: rgba(124, 77, 255, 0.8);
    --primary-subtle: rgba(124, 77, 255, 0.05);
    --secondary: #E14FFF;
    --dark: #2d2d3a;
    --light: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-blur: blur(20px);
    --card-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-large: 16px;
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    
    /* iOS Typography Scale */
    --font-size-caption: 0.75rem;     /* 12px */
    --font-size-footnote: 0.8125rem;  /* 13px */
    --font-size-subhead: 0.9375rem;   /* 15px */
    --font-size-callout: 1rem;        /* 16px */
    --font-size-body: 1.0625rem;      /* 17px */
    --font-size-headline: 1.0625rem;  /* 17px */
    --font-size-title3: 1.25rem;      /* 20px */
    --font-size-title2: 1.375rem;     /* 22px */
    --font-size-title1: 1.75rem;      /* 28px */
    --font-size-large-title: 2.125rem; /* 34px */
    
    /* iOS Spacing Scale (8pt grid) */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.47;
    color: var(--dark);
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 15%, #f0f4ff 30%, #e8f0ff 45%, #e0ebff 60%, #d8e6ff 75%, #d0e1ff 90%, #c8dcff 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--font-size-body);
    font-weight: 400;
    letter-spacing: -0.24px;
}

/* iOS Typography Hierarchy */
h1 {
    font-size: var(--font-size-large-title);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.41px;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--font-size-title1);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.35px;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--font-size-title2);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.26px;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: var(--font-size-title3);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.24px;
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: var(--font-size-body);
    line-height: 1.47;
    letter-spacing: -0.24px;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-title3);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.24px;
    color: rgba(45, 45, 58, 0.7);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: var(--font-size-title2);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.26px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
    background: transparent;
}

.hero-container {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 60vh;
    justify-content: center;
    align-items: center;
    z-index: 5;
    padding: 0 5%;
}

.hero {
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: var(--font-size-title3);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.24px;
    color: rgba(45, 45, 58, 0.8);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: white;
    font-size: var(--font-size-body);
    font-weight: 600;
    letter-spacing: -0.24px;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--card-shadow);
    border: none;
    min-height: 48px;
}

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

.value-props {
    padding: var(--spacing-3xl) 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.prop {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-large);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--card-shadow);
}

.prop:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

.prop img {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    border-radius: var(--spacing-sm);
}

.prop h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.prop p {
    font-size: var(--font-size-subhead);
    color: rgba(45, 45, 58, 0.7);
    line-height: 1.5;
}

.signup {
    padding: var(--spacing-3xl) 5%;
    background: transparent;
}

.modern-signup-container {
    max-width: 1200px;
    margin: 0 auto;
}

.signup-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 600px;
}

.signup-card-content {
    padding: var(--spacing-2xl);
}

.signup-card h2 {
    font-size: var(--font-size-title1);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-subtitle {
    font-size: var(--font-size-body);
    color: rgba(45, 45, 58, 0.7);
    margin-bottom: var(--spacing-xl);
}

/* Multi-step Form */
.multi-step-form {
    position: relative;
    min-height: 450px;
}

.form-step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
}

.step-header h3 {
    font-size: var(--font-size-title2);
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(124, 77, 255, 0.06);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-footnote);
    font-weight: 600;
}

.step-label {
    font-size: var(--font-size-footnote);
    font-weight: 500;
    color: var(--primary);
}

.back-button {
    background: rgba(124, 77, 255, 0.06);
    border: none;
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.back-button:hover {
    background: rgba(124, 77, 255, 0.12);
    transform: translateY(-1px);
}

/* Role Selection */
.role-selection {
    display: grid;
    gap: var(--spacing-md);
}

.role-option {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-large);
    padding: var(--spacing-xl);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    min-height: 44px;
}

.role-option:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.15);
    background: white;
}

.role-option.selected {
    border-color: var(--primary);
    background: rgba(124, 77, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.15);
}

.role-option.selected .role-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.role-icon {
    width: 48px;
    height: 48px;
    background: rgba(124, 77, 255, 0.06);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.role-option:hover .role-icon {
    background: rgba(124, 77, 255, 0.12);
    transform: scale(1.1);
}

.role-option h4 {
    font-size: var(--font-size-title3);
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 var(--spacing-sm) 0;
}

.role-option p {
    font-size: var(--font-size-footnote);
    color: rgba(45, 45, 58, 0.6);
    margin: 0;
    line-height: 1.4;
}

.continue-button {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    min-height: 44px;
    box-shadow: var(--card-shadow);
}

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

/* Role-specific Fields */
.role-fields {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.bubble-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.input-bubble {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.input-bubble:focus-within {
    border-color: var(--primary-medium);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

.input-bubble input {
    flex: 1;
    border: none;
    background: none;
    font-size: var(--font-size-body);
    color: var(--dark);
    outline: none;
}

.input-bubble input::placeholder {
    color: rgba(45, 45, 58, 0.5);
}

.input-bubble.error {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.03);
}

.input-bubble.error input {
    color: #ff4757;
}

.services-select label {
    display: block;
    font-size: var(--font-size-subhead);
    font-weight: 500;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
}

.service-option {
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: var(--spacing-sm);
    transition: none;
}

.service-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-option label {
    display: block;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.2s, border-color 0.2s;
    font-size: var(--font-size-subhead);
    font-weight: 500;
    color: var(--dark);
}

.service-option input[type="checkbox"]:checked + label {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.agreements-section {
    margin: var(--spacing-lg) 0;
}

.agreement {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.agreement input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agreement label {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: var(--font-size-footnote);
    color: rgba(45, 45, 58, 0.7);
}

.agreement input[type="checkbox"]:checked + label {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.cta-button {
    width: 100%;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

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

.signup-card-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-subtle));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-medium), transparent);
    z-index: 1;
}

.card-image-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl);
    color: white;
}

.card-image-text h3 {
    font-size: var(--font-size-title2);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.card-image-text p {
    font-size: var(--font-size-body);
    opacity: 0.9;
    line-height: 1.5;
}

/* Subtle CTA Sections */
.section-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(124, 77, 255, 0.02);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(124, 77, 255, 0.08);
}

.section-cta p {
    font-size: var(--font-size-body);
    color: rgba(45, 45, 58, 0.8);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.subtle-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    color: var(--primary);
    font-size: var(--font-size-subhead);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 44px;
}

.subtle-cta:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 77, 255, 0.15);
}

.subtle-cta::after {
    content: '→';
    font-size: var(--font-size-body);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subtle-cta:hover::after {
    transform: translateX(4px);
}

footer {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border-top: 1px solid var(--card-border);
    margin-top: var(--spacing-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 5%;
}

.footer-section h4 {
    color: var(--primary);
    font-size: var(--font-size-title3);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(45, 45, 58, 0.7);
    font-size: var(--font-size-subhead);
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(45, 45, 58, 0.7);
    text-decoration: none;
    font-size: var(--font-size-subhead);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: var(--spacing-lg) 5%;
    text-align: center;
}

.footer-bottom p {
    color: rgba(45, 45, 58, 0.6);
    font-size: var(--font-size-footnote);
    margin: 0;
}

@media (max-width: 992px) {
    .signup-card {
        flex-direction: column;
    }
    
    .signup-card-image {
        width: 100%;
        min-height: 250px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .signup {
        padding: 3rem 5%;
    }
    
    .signup-card-content {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .signup-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .value-props {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

.comparison {
    padding: 1.5rem 10%;
    margin: 0;
    background: transparent;
}

.comparison h2 {
    text-align: center;
    font-size: var(--font-size-title1);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.35px;
    margin-bottom: var(--spacing-2xl);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile-first swipeable comparison cards */
.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.comparison-cards {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.comparison-card {
    flex: 0 0 280px;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border-radius: var(--border-radius-large);
    padding: var(--spacing-xl);
    box-shadow: var(--card-shadow);
    scroll-snap-align: center;
    border: 1px solid var(--card-border);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

.comparison-card.featured {
    border-color: var(--primary-medium);
    background: linear-gradient(135deg, var(--primary-subtle), var(--card-bg));
    transform: scale(1.02);
}

.comparison-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.card-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.card-title {
    font-size: var(--font-size-title2);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.26px;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.comparison-card.featured .card-title {
    color: var(--primary);
}

.card-subtitle {
    font-size: var(--font-size-subhead);
    color: rgba(45, 45, 58, 0.6);
    line-height: 1.4;
    letter-spacing: -0.24px;
}

.comparison-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.02);
    min-height: 60px; /* Ensure 44px+ touch target */
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-icon.positive {
    color: #34C759; /* iOS Green */
}

.feature-icon.negative {
    color: #FF3B30; /* iOS Red */
}

.feature-icon.highlight {
    color: var(--primary);
}

.feature-content {
    flex: 1;
}

.feature-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-subhead);
    line-height: 1.3;
    letter-spacing: -0.24px;
}

.feature-description {
    font-size: var(--font-size-footnote);
    color: rgba(45, 45, 58, 0.7);
    line-height: 1.4;
    letter-spacing: -0.08px;
}

.comparison-card.featured .feature-item {
    background: var(--primary-subtle);
}

.comparison-card.featured .feature-item:hover {
    background: var(--primary-light);
}

/* Scroll indicators */
.scroll-indicator {
    text-align: center;
    margin-top: var(--spacing-lg);
    color: rgba(45, 45, 58, 0.6);
    font-size: var(--font-size-footnote);
}

.scroll-indicator p {
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.scroll-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(45, 45, 58, 0.3);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Desktop layout */
@media (min-width: 768px) {
    .comparison-cards {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        overflow: visible;
        padding: 0;
    }
    
    .comparison-card {
        flex: none;
    }
    
    .comparison-card.featured {
        transform: scale(1.02);
    }
    
    .comparison-card.featured:hover {
        transform: scale(1.02) translateY(-5px);
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (min-width: 1024px) {
    .comparison-card {
        padding: 2.5rem;
        min-height: 450px;
    }
    
    .card-title {
        font-size: 1.75rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
}

/* Remove old comparison table styles */
.comparison-grid,
.comparison-header,
.comparison-row {
    display: none;
}

html {
    scroll-behavior: smooth;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.meet-penny {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius);
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    padding-bottom: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.penny-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
    padding: 1rem;
    min-height: 600px;
}

.penny-avatar {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    height: fit-content;
    pointer-events: none;
}

.penny-avatar img {
    pointer-events: auto;
}

.avatar-large {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

/* Update mobile responsiveness */
@media (max-width: 768px) {
    .avatar-large {
        width: 200px;
        height: 200px;
    }
}

.penny-subtitle {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.penny-intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-x: hidden;
    overflow-y: visible; /* Prevent scrollbars */
}

.penny-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chat-preview {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow-y: visible; /* Prevent scrollbars */
}

.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    /* Remove opacity and animation here, handled by JS */
    opacity: 1;
    transform: none;
    transition: none;
}

.chat-message.penny {
    animation-delay: 0.5s;
}

.chat-message.user {
    justify-content: flex-end;
    animation-delay: 1s;
}

.chat-message .message {
    padding: 1rem 1.5rem;
    border-radius: 15px;
    max-width: 80%;
}

.chat-message.penny .message {
    background: #f0e7ff;
    margin-left: 1rem;
}

.chat-message.user .message {
    background: var(--primary);
    color: white;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
}

.avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-message.penny .avatar-small {
    margin-right: 1rem;
}

.penny-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.penny-features .feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.penny-features .feature:hover {
    transform: translateY(-5px);
}

.penny-features .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(124, 77, 255, 0.06);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.penny-features .feature:hover .feature-icon {
    background: rgba(124, 77, 255, 0.12);
    transform: scale(1.05);
}

/* Keep the original .feature-icon for other sections */
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 768px) {
    .penny-container {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }

    .penny-avatar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }

    .avatar-large {
        width: 200px;
        height: 200px;
    }

    .penny-features {
        grid-template-columns: 1fr;
    }
}

.hero-section .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-section .shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-subtle));
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    opacity: 0.6;
}

.hero-section .shape:nth-child(2) {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 5%;
    opacity: 0.4;
}

.hero-section .shape:nth-child(3) {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 15%;
    opacity: 0.5;
}

.hero-section .shape:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 25%;
    right: 15%;
    opacity: 0.3;
}

.hero-section .shape:nth-child(5) {
    width: 350px;
    height: 350px;
    top: 40%;
    right: -100px;
    opacity: 0.2;
}

/* Removed duplicate avatar-large styles - they exist elsewhere in the file */

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-size: var(--font-size-body);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-button {
    background: var(--gradient-main);
    color: white;
    font-weight: 600;
    font-size: var(--font-size-body);
    letter-spacing: -0.24px;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--card-shadow);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.profile-showcase {
    padding: 1.5rem 10%;
    margin: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.profile-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 4rem;
    opacity: 0.8;
}

.profile-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.profile-customization {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.customization-point {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease;
}

.customization-point:hover {
    transform: translateX(10px);
}

.customization-point h4 {
    color: var(--primary);
    margin-top: 0.5rem;
}

.customization-point p {
    color: var(--dark);
    opacity: 0.8;
}

.profile-mockup {
    position: relative;
}

.profile-mockup img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.customization-indicators {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.indicator {
    position: absolute;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.indicator:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.indicator:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: 0.7s;
}

.indicator:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 1.4s;
}

@media (max-width: 768px) {
    .profile-preview {
        grid-template-columns: 1fr;
    }
    
    .customization-point:hover {
        transform: translateY(-5px);
    }
}

.match-results {
    padding: 1.5rem 10%;
    margin: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.results-preview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.match-explanation {
    padding-right: 2rem;
}

.match-explanation h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.match-points {
    margin-top: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.point:hover {
    transform: translateX(10px);
}

.match-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    perspective: 1000px;
}

.match-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.match-card.active {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.2);
}

.match-card:hover {
    transform: translateY(-10px) rotateY(10deg);
}

.match-percentage {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-main);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.match-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 1rem auto;
    border: 3px solid var(--primary);
}

.match-card h4 {
    color: var(--primary);
    margin: 1rem 0 0.5rem;
}

.specialties {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.match-reason {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark);
    font-style: italic;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .results-preview {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .match-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .match-card.active {
        transform: scale(1.05);
    }
}

.client-experience {
    padding: 1.5rem 10%;
    margin: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.impact-title {
    text-align: center;
    margin-bottom: 4rem;
}

.impact-title h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-title .section-subtitle {
    font-size: 1.4rem;
    color: var(--dark);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .impact-title h2 {
        font-size: 2.2rem;
    }
    
    .impact-title .section-subtitle {
        font-size: 1.2rem;
    }
    
    .client-experience {
        padding: 3rem 5%;
        margin: 0 2%;
    }
    
    .penny-container {
        flex-direction: column;
        gap: 2rem;
    }
}

.comparison-alt {
    background: linear-gradient(135deg, rgba(255, 64, 129, 0.05) 0%, rgba(124, 77, 255, 0.05) 100%);
    padding: 6rem 10%;
    border-radius: 30px;
    margin: 2rem 10%;
    position: relative;
}

.comparison-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, 
        rgba(255, 64, 129, 0.1),
        transparent 60%),
        radial-gradient(circle at bottom left, 
        rgba(124, 77, 255, 0.1),
        transparent 60%);
    border-radius: 30px;
    z-index: -1;
}

.comparison-alt .comparison-grid {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 0 30px rgba(255, 64, 129, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.comparison-alt .comparison-header {
    background: white;
    padding: 2rem 0;
    border-bottom: 2px solid rgba(255, 64, 129, 0.1);
}

.comparison-alt .our-solution {
    background: linear-gradient(135deg, 
        rgba(255, 64, 129, 0.08) 0%, 
        rgba(124, 77, 255, 0.08) 100%);
    font-weight: 600;
    color: var(--primary);
}

.comparison-alt .comparison-row {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.comparison-alt .comparison-row:hover {
    background: rgba(255, 64, 129, 0.03);
    transform: translateX(10px);
}

.comparison-alt .feature {
    font-weight: 600;
    color: var(--secondary);
    padding-left: 2rem;
}

.comparison-alt .competitor {
    color: #636e72;
}

.comparison-alt h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-section {
    background-image: url('assets/testimonial-bg.jpg');
    /* other styles */
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .coming-soon {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}

/* Consistent section styling */
section {
    position: relative;
    padding: 1.5rem 10%;
    margin: 0;
    transition: all var(--transition-speed) ease;
}

/* Standardize heading styles across sections */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Apply glassmorphism to cards throughout the site */
.prop, .customization-point, .match-card, .feature {
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    -webkit-backdrop-filter: var(--card-blur);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.prop:hover, .customization-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(95, 92, 255, 0.3);
}

/* Update section backgrounds for a cohesive look */
.value-props::before, .profile-showcase::before, .match-results::before {
    display: none;
}

.client-experience::before {
    display: none;
}

/* Static comparison section styles have been removed */

/* Mobile responsive hero section */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px; /* Smaller header on mobile */
    }
    
    .hero-container {
        min-height: 50vh;
        padding: 0 5%;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero .subtitle {
        font-size: var(--font-size-body);
        margin-bottom: var(--spacing-xl);
    }
    
    /* Hide floating shapes on mobile for better performance */
    .hero-section .floating-shapes {
        display: none;
    }
}

/* Mobile-first touch target improvements */
@media (max-width: 768px) {
    /* Ensure all interactive elements meet 44px minimum */
    .tab, .cta-button, .nav-button, .google-button, 
    .service-option, .input-bubble, button, 
    .feature-item, .dot {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve button spacing and sizing */
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 50px;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Improve tab sizing */
    .tab {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve service option sizing */
    .service-option {
        padding: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .service-option label {
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    /* Improve input bubble sizing */
    .input-bubble {
        padding: 1rem 1.5rem;
        min-height: 52px;
    }
    
    .input-bubble input {
        min-height: 24px;
        font-size: 1rem;
    }
    
    /* Improve dot navigation */
    .dot {
        width: 12px;
        height: 12px;
        padding: 4px; /* Increases touch target while keeping visual size */
        cursor: pointer;
    }
    
    /* Progressive disclosure for content sections */
    .value-props {
        padding: 2rem 5%;
    }
    
    .value-props .prop {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    /* Reduce content density in hero */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        max-width: 90%;
    }
    
    /* Improve section spacing */
    section {
        padding: 2rem 5%;
        margin-bottom: 1rem;
    }
    
    /* Improve card spacing in comparison */
    .comparison-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .feature-item {
        padding: 1rem;
        margin-bottom: 0.5rem;
        min-height: 60px;
    }
    
    /* Improve match cards */
    .match-card {
        padding: 1.5rem;
        min-height: 200px;
        margin-bottom: 1rem;
    }
    
    /* Improve profile customization */
    .customization-point {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        min-height: 80px;
    }
    
    /* Improve form spacing */
    .bubble-form {
        gap: 1rem;
    }
    
    .services-grid {
        gap: 0.5rem;
    }
    
    /* Improve Penny section */
    .penny-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .penny-features .feature {
        padding: 1.5rem;
        min-height: 120px;
    }
    
    /* Hide scroll indicator on desktop */
    .scroll-indicator {
        display: block;
    }
}

/* Desktop improvements */
@media (min-width: 769px) {
    .scroll-indicator {
        display: none;
    }
    
    /* Ensure desktop touch targets are still accessible */
    .dot {
        cursor: pointer;
        padding: 2px;
    }
    
    .dot:hover {
        transform: scale(1.2);
    }
}

/* iOS-style animations and interactions */
.comparison-cards {
    scroll-behavior: smooth;
}

.comparison-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item:active {
    transform: scale(0.98);
    background: rgba(0, 0, 0, 0.05);
}

.dot {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dot:active {
    transform: scale(0.9);
}

/* Improve accessibility and visual hierarchy */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Improve readability */
    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .card-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile-specific match cards improvements */
@media (max-width: 768px) {
    .match-results {
        padding: 2rem 5%;
    }
    
    .results-preview {
        flex-direction: column;
        gap: 2rem;
    }
    
    .match-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .match-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        padding: 1.5rem;
        min-height: 320px;
        margin: 0;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .match-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .match-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .specialties {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .match-reason {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .match-percentage {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    /* Make match explanation more concise on mobile */
    .match-explanation {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .match-explanation h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .match-explanation p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .match-points {
        display: none; /* Hide on mobile for progressive disclosure */
    }
}

/* Progressive disclosure for Penny section on mobile */
@media (max-width: 768px) {
    .meet-penny {
        padding: 2rem 5%;
    }
    
    .penny-container {
        gap: 1.5rem;
    }
    
    .penny-intro h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .penny-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .chat-preview {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 16px;
    }
    
    .chat-message .message {
        max-width: 85%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .avatar-small {
        width: 32px;
        height: 32px;
    }
}

/* Improve profile showcase for mobile */
@media (max-width: 768px) {
    .profile-showcase {
        padding: 2rem 5%;
    }
    
    .profile-preview {
        flex-direction: column;
        gap: 2rem;
    }
    
    .profile-customization {
        order: 2;
    }
    
    .profile-mockup {
        order: 1;
        text-align: center;
    }
    
    .profile-mockup img {
        max-width: 280px;
        border-radius: 12px;
    }
    
    .customization-point {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .customization-point svg {
        flex-shrink: 0;
        margin-top: 0.25rem;
    }
    
    .customization-point h4 {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .customization-point p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .value-props {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .prop {
        padding: var(--spacing-lg);
    }
    
    .section-cta {
        margin-top: var(--spacing-xl);
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .section-cta p {
        font-size: var(--font-size-subhead);
    }
    
    .subtle-cta {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-footnote);
    }
    
    .nav-links {
        gap: var(--spacing-md);
    }
    
    .nav-link {
        font-size: var(--font-size-subhead);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) 5%;
    }
    
    .footer-section {
        text-align: center;
    }
}
