/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Inter+Tight:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - New Color Palette */
:root {
    --ink: #0B1B2B;
    --primary-blue: #2D7FF9;
    --soft-sky: #EAF3FF;
    --cloud: #F6FBF8;
    --soft-money-green: #C7F2D8;
    --rich-mint: #A7EBC6;
    --neutral-text: #475467;
    --subtle-border: #E6EAF0;
    --primary-gradient: linear-gradient(135deg, #2D7FF9 0%, #A7EBC6 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: linear-gradient(135deg, var(--cloud) 0%, var(--soft-sky) 50%, #ffffff 100%);
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 700;
}

h2 {
    font-size: clamp(28px, 3.2vw, 40px);
}

h3 {
    font-size: clamp(20px, 2.2vw, 24px);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--neutral-text);
}

/* Glass Morphism Components */
.glass-card {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border-radius: 24px;
    border: 1px solid rgba(11, 27, 43, 0.08);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(11, 27, 43, 0.08),
        0 2px 8px rgba(45, 127, 249, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: translateY(-4px);
    box-shadow: 
        0 16px 30px rgba(11, 27, 43, 0.08),
        0 4px 20px rgba(45, 127, 249, 0.15);
    border-color: rgba(45, 127, 249, 0.2);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--soft-sky) 0%, var(--cloud) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2px;
}

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

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
main {
    margin-top: 80px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 96px 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cloud) 0%, var(--soft-sky) 50%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.4) 100%
    );
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.12;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: clamp(18px, 1.4vw, 20px);
    margin-bottom: 24px;
    color: var(--neutral-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.cta-cluster {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 9999px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.cta-button.primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(45, 127, 249, 0.25);
}

.cta-button.primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(45, 127, 249, 0.35);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ink);
    border: 1px solid rgba(45, 127, 249, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}



/* Services Section */
.services {
    background: rgba(246, 251, 248, 0.3);
    padding: 96px 2rem;
}

.services h2 {
    text-align: center;
    margin-bottom: 48px;
    color: var(--ink);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.service-tier {
    text-align: center;
}

.service-tier h3 {
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.price {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-tier ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-tier li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tier li:before {
    content: "✓ ";
    color: var(--rich-mint);
    font-weight: bold;
}

/* About Section */
.about {
    text-align: center;
}

.about h2 {
    margin-bottom: 32px;
    color: var(--ink);
}

.about p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background: rgba(234, 243, 255, 0.3);
    padding: 96px 2rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 48px;
    color: var(--ink);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--subtle-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px var(--rich-mint);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: rgba(30, 41, 59, 0.9);
    color: white;
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #000000 0%, #111111 50%, #1a1a1a 100%);
    color: #ffffff;
}

body.dark-mode .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

body.dark-mode .glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .cta-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
}

body.dark-mode .cta-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    transform: translateY(-2px);
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .service-tier h3 {
    color: #8b5cf6;
}

body.dark-mode .price {
    color: #3b82f6;
}

body.dark-mode .services {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .testimonials {
    background: rgba(0, 0, 0, 0.1);
}

body.dark-mode .contact {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode h2,
body.dark-mode h3 {
    color: #ffffff;
}

body.dark-mode p {
    color: #e2e8f0;
}

body.dark-mode .testimonial p {
    color: #cbd5e1;
}

body.dark-mode .testimonial-author strong {
    color: #ffffff;
}

body.dark-mode .testimonial-author span {
    color: #94a3b8;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
}

body.dark-mode .form-group label {
    color: #e2e8f0;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation improvements */
    header {
        padding: 1rem 1.5rem;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        order: 2;
        margin-top: 0.5rem;
    }
    
    .nav-links li {
        min-height: 44px; /* iOS touch target minimum */
        display: flex;
        align-items: center;
    }
    
    .nav-links a {
        padding: 8px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }
    
    .logo {
        font-size: 1.25rem;
        order: 1;
    }
    
    .theme-toggle {
        order: 3;
        padding: 8px 16px;
        min-height: 44px;
        border-radius: 8px;
        font-size: 13px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 5rem 1rem 4rem;
        min-height: 70vh;
        text-align: center;
    }
    
    .hero h1 {
        font-size: clamp(28px, 7vw, 40px);
        line-height: 1.1;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero p {
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .credibility-line {
        font-size: clamp(15px, 3.5vw, 17px);
        margin: 1rem 0 2rem 0;
    }
    
    /* CTA buttons mobile */
    .cta-cluster {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 16px;
    }
    
    /* Benefit strip mobile */
    .benefit-strip {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .benefit-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .benefit-item span:last-child {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Service grid mobile */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* General section spacing */
    section {
        padding: 3rem 1rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero {
        padding: 4rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: clamp(24px, 8vw, 32px);
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: clamp(14px, 4vw, 16px);
    }
    
    .credibility-line {
        font-size: clamp(13px, 3.5vw, 15px);
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 13px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .benefit-item span:last-child {
        font-size: 12px;
    }
    
    /* Mobile navigation improvements for very small screens */
    header {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 13px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .theme-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Advanced Micro-interactions */
.service-tier:hover .price {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(45, 127, 249, 0.3);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Removed floating animation to prevent conflicts */

/* Remove conflicting pulse animation */

/* Gradient animation for backgrounds */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Enhanced form styling */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px var(--rich-mint);
    border-color: var(--primary-blue);
}

/* Loading state for form submission */
.cta-button.loading {
    position: relative;
    color: transparent;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Testimonials Section */
.testimonials {
    padding: 96px 2rem;
    background: rgba(234, 243, 255, 0.2);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 48px;
    color: var(--ink);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
}

.testimonial {
    text-align: left;
    padding: 32px;
}

.testimonial p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--neutral-text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--ink);
    font-weight: 600;
    font-size: 16px;
}

.testimonial-author span {
    color: var(--neutral-text);
    font-size: 14px;
    opacity: 0.8;
}

body.dark-mode select {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

body.dark-mode select option {
    background: #1a1a1a;
    color: white;
}

body.dark-mode select:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px var(--rich-mint) !important;
}
/* Enhanced Hero Section Styles */
.credibility-line {
    font-size: 18px;
    color: var(--neutral-text);
    font-weight: 500;
    margin: 16px 0 32px 0;
    opacity: 0.9;
}

.benefit-strip {
    display: grid;
    gap: 16px;
    margin-top: 40px;
    max-width: 800px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-item span:last-child {
    font-size: 14px;
    color: var(--neutral-text);
    line-height: 1.4;
}

/* Service Tier Enhancements */
.service-subtitle {
    font-size: 14px;
    color: var(--neutral-text);
    margin: 8px 0 16px 0;
    font-style: italic;
    opacity: 0.8;
}

.risk-reversal {
    font-size: 12px;
    color: var(--primary-blue);
    margin: 16px 0 0 0;
    font-style: italic;
    opacity: 0.9;
    text-align: center;
}

/* Dark Mode Adjustments */
body.dark-mode .benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .credibility-line {
    color: #cbd5e1;
}

body.dark-mode .service-subtitle {
    color: #94a3b8;
}

body.dark-mode .risk-reversal {
    color: #60a5fa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .benefit-strip {
        gap: 12px;
        margin-top: 32px;
    }
    
    .benefit-item {
        padding: 12px 16px;
        gap: 10px;
    }
    
    .benefit-item span:last-child {
        font-size: 13px;
    }
    
    .credibility-line {
        font-size: 16px;
        margin: 12px 0 24px 0;
    }
}
/* Contact Form Styles */
.contact-form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(45, 127, 249, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(45, 127, 249, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    margin: 8px 0 0 0;
    font-size: 16px;
    font-weight: 600;
}

/* Dark Mode Form Styles */
body.dark-mode .form-group label {
    color: #e2e8f0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #94a3b8;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Form Loading State */
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading {
    position: relative;
}

.form-submit.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Email Address Mobile Display */
.email-display {
    font-size: clamp(16px, 3.5vw, 24px) !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    line-height: 1.2 !important;
    hyphens: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
}

/* Mobile-specific email improvements */
@media (max-width: 480px) {
    .email-display {
        font-size: 15px !important;
        word-spacing: -1px !important;
        letter-spacing: -0.3px !important;
        padding: 0 !important;
        margin: 0 0 16px 0 !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .email-display {
        font-size: 13px !important;
        line-height: 1.1 !important;
        word-spacing: -2px !important;
        letter-spacing: -0.5px !important;
    }
}

/* Force text wrapping on all screen sizes */
@media (max-width: 768px) {
    .email-display {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }
}
