/* ==========================================================================
   AnxioMed Landing Page Styles
   ========================================================================== */

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

:root {
    --primary-color: #78c2ad;
    --primary-dark: #5fa793;
    --primary-light: #92cfbd;
    --secondary-color: #f3969a;
    --success-color: #56cc9d;
    --danger-color: #ff7851;
    --warning-color: #ffce67;
    --info-color: #6cc3d5;
    --dark-color: #343a40;
    --text-dark: #212529;
    --text-medium: #5a5a5a;
    --text-light: #888;
    --bg-white: #ffffff;
    --bg-gray-50: #f8f9fa;
    --bg-gray-100: #f7f7f9;
    --bg-gray-200: #eceeef;
    --border-color: #eceeef;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

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

.btn-primary-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-primary-nav:hover {
    background: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: var(--bg-gray-50);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: #f0faf7;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-primary-large {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary-large {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: all 0.2s;
}

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

.hero-note {
    color: var(--text-light);
    font-size: 14px;
}

.hero-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #78c2ad;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.card-date {
    font-size: 13px;
    color: var(--text-light);
}

.waveform {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    margin-bottom: 20px;
}

.wave-bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.transcription-preview {
    background: var(--bg-gray-50);
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.analysis-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats {
    background: var(--bg-white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-medium);
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.benefits {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
}

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    padding: 100px 0;
    background: var(--bg-gray-50);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr 300px;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.step-reverse {
    grid-template-columns: 60px 1fr 300px;
}

.step-reverse .step-content {
    order: 2;
}

.step-reverse .step-visual {
    order: 3;
}

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

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
}

.step-visual {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-form {
    width: 100%;
}

.form-field {
    height: 12px;
    background: var(--bg-gray-100);
    border-radius: 4px;
    margin-bottom: 12px;
}

.form-field.short {
    width: 60%;
}

.form-button {
    height: 36px;
    background: var(--primary-color);
    border-radius: 6px;
    width: 40%;
    margin-top: 8px;
}

.mock-link {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-gray-50);
    padding: 20px;
    border-radius: 8px;
    width: 100%;
}

.link-icon {
    font-size: 32px;
}

.link-text {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.mock-recorder {
    text-align: center;
}

.recorder-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.recorder-text {
    color: var(--text-medium);
    font-weight: 600;
}

.mock-analysis {
    width: 100%;
}

.analysis-section {
    margin-bottom: 20px;
}

.analysis-section:last-child {
    margin-bottom: 0;
}

.analysis-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-tag {
    display: inline-block;
    background: var(--bg-gray-100);
    color: var(--text-medium);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.analysis-item {
    height: 10px;
    background: var(--bg-gray-100);
    border-radius: 4px;
    margin-bottom: 8px;
}

.mock-session {
    text-align: center;
}

.session-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 16px;
}

.session-text {
    color: var(--text-medium);
    font-weight: 600;
}

/* ==========================================================================
   Features Detail Section
   ========================================================================== */

.features-detail {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
}

.feature-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing {
    padding: 100px 0;
    background: var(--bg-gray-50);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    background: var(--bg-white);
    padding: 6px;
    border-radius: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.toggle-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.discount-badge {
    background: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

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

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 20px;
    color: var(--text-light);
}

.annual-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-medium);
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.pricing-extra {
    background: var(--bg-gray-50);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 32px;
    text-align: center;
}

.pricing-extra strong {
    font-size: 18px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.extra-note {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.btn-pricing {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

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

.pricing-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.pricing-examples {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
}

.pricing-examples h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.example {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.example-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.example-calc {
    font-size: 15px;
    color: var(--text-medium);
}

.example-calc strong {
    display: block;
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 8px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-gray-50);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

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

.testimonial-author {
    display: flex;
    gap: 16px;
    align-items: center;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #78c2ad;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: 100px 0;
    background: #78c2ad;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 16px;
}

.cta > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 48px;
}

.demo-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
    margin-top: 8px;
}

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

.form-privacy {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo svg circle,
.footer-brand .logo svg path {
    stroke: white;
}

.footer-brand .logo-text {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }

    .step-visual {
        grid-column: 1 / -1;
        order: 3;
    }

    .step-reverse .step-content {
        order: 1;
    }

    .step-reverse .step-visual {
        order: 3;
        grid-column: 1 / -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary-large,
    .btn-secondary-large {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    .benefit-card {
        margin: 0 !important;
    }

    .step {
        grid-template-columns: 1fr;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .step-visual {
        margin-left: 0;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .demo-form {
        padding: 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .pricing-card {
        padding: 24px;
    }

    .price-amount {
        font-size: 42px;
    }
}

/* ==========================================================================
   Smooth Scrolling
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* ==========================================================================
   Custom Modal Styles
   ========================================================================== */

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-modal {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.3s ease;
}

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

.custom-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.custom-modal-icon.error {
    background: var(--danger-color);
}

.custom-modal h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.custom-modal p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.custom-modal p:last-of-type {
    margin-bottom: 32px;
}

.custom-modal-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.custom-modal-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 194, 173, 0.3);
}

@media (max-width: 768px) {
    .custom-modal {
        padding: 32px 24px;
    }

    .custom-modal h2 {
        font-size: 24px;
    }

    .custom-modal-icon {
        width: 64px;
        height: 64px;
        font-size: 36px;
    }
}
