/* In2Clicks Modern Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --brand-black: #061B2B;
    --brand-gray: #6B7280;
    --brand-light: #F5F6F7;
    --brand-primary: #76E0C0;
    --white: #ffffff;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-card: 0 6px 20px rgba(0,0,0,0.06);
    --radius: 16px;
    --radius-xl: 20px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--brand-black);
    background: #F9F9F9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure all elements use Inter font with loading strategy */
*, *::before, *::after {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-display: swap;
}

/* Font loading optimization */
html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-display: swap;
}

/* Specific elements that might override font */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, textarea, select,
label, legend, caption, th, td,
.hero-title, .section-title, .price, .cta-title,
.logo, .brand-name, .detail-value, .accuracy-percent,
.terms-title, .cta-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-black);
    text-decoration: none;
    letter-spacing: -0.025em;
}

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

.nav-link {
    color: var(--brand-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-black);
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--brand-black);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: var(--white);
}

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

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--brand-black);
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--brand-gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
}

.hero-banner {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.image-placeholder {
    background: var(--brand-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--brand-gray);
}

.upload-icon {
    margin-bottom: 1rem;
    color: var(--brand-gray);
}

.image-placeholder p {
    font-weight: 500;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
    text-align: center;
}

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

.btn-primary:hover {
    background: #5AC4A8;
    transform: translateY(-1px);
}

/* Ensure hero section buttons use brand-black text */
.hero .btn-primary {
    color: var(--brand-black) !important;
}

.btn-secondary {
    background: #5A87D9;
    color: var(--white);
}

.btn-secondary:hover {
    background: #4A77C9;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-black);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--brand-light);
}

.btn-full {
    width: 100%;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: var(--white);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.how-it-works-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.how-it-works-content {
    padding-left: 2rem;
}

.how-it-works-image {
    width: 100%;
    max-width: 400px;
}

.process-icon {
    margin-bottom: 1rem;
    color: var(--brand-gray);
}

/* Audio Upload Section */
.audio-upload {
    padding: 4rem 0;
    background: var(--white);
}

/* Audio Drop Zone */
.audio-drop-zone {
    width: 100%;
    max-width: 500px;
    min-height: 400px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.audio-drop-zone:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.audio-drop-zone.dragover {
    border-color: #10b981;
    background: #ecfdf5;
    border-style: solid;
}

.audio-drop-zone.has-file {
    border-color: var(--brand-black);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.drop-zone-content {
    text-align: center;
    padding: 2rem;
}

.audio-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1;
}

.drop-zone-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.drop-zone-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.supported-formats {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.format-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.file-analysis {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.file-icon {
    color: var(--brand-black);
}

.file-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.file-info p {
    font-size: 0.875rem;
    color: var(--brand-gray);
}

.analysis-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.detail-label {
    font-size: 0.875rem;
    color: var(--brand-gray);
    font-weight: 500;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--brand-black);
    font-weight: 600;
}

.detail-value.package {
    color: var(--brand-black);
    background: var(--brand-light);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.detail-value.cost {
    color: #10B981;
    font-weight: 600;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.analysis-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Processing Indicator */
.processing-indicator {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.processing-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.processing-text {
    color: var(--brand-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.processing-progress {
    width: 100%;
    height: 4px;
    background: #e3e3e3;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--brand-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 2rem;
    line-height: 1.2;
}

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

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #e6e6e6;
    color: var(--brand-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--brand-gray);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 2.5rem 0 4rem;
    background: var(--brand-light);
}

.pricing-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    position: relative;
}

.pricing-card.recommended {
    box-shadow: 0 8px 30px rgba(118, 224, 192, 0.3);
    border: 2px solid var(--brand-primary);
}

.pricing-card.recommended .btn {
    background: var(--brand-primary);
    color: var(--brand-black);
}

.pricing-card.recommended .btn:hover {
    background: #5AC4A8;
    transform: translateY(-1px);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: var(--brand-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-header {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--brand-gray);
}

.card-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-black);
}

/* Ensure pricing section prices use brand-black color */
.pricing .price {
    color: var(--brand-black) !important;
}

/* Recommended price styling - higher specificity */
.pricing .price.recommendedPrice {
    color: var(--brand-primary) !important;
}

.period {
    font-size: 0.875rem;
    color: var(--brand-gray);
}

.card-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-features li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--brand-black);
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #5A87D9;
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.benefit-icon {
    font-size: 1.25rem;
}

.benefit-text {
    font-weight: 500;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--brand-primary);
    color: var(--brand-black);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-large:hover {
    background: #5AC4A8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 224, 192, 0.4);
}

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

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--brand-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-image {
    margin-top: 1rem;
}

.feature-image .image-placeholder {
    padding: 2rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.format-icons {
    display: flex;
    gap: 1rem;
}

.format-icon {
    font-size: 1.5rem;
}

.accuracy-icon {
    text-align: center;
}

.accuracy-percent {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-black);
}

.accuracy-label {
    font-size: 0.875rem;
    color: var(--brand-gray);
}

.privacy-icon {
    text-align: center;
}

.shield-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.privacy-label {
    font-size: 0.875rem;
    color: var(--brand-gray);
}

/* Terms Page */
.terms-section {
    padding: 4rem 0;
    background: var(--white);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    line-height: 1.6;
}

.terms-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 1rem;
    text-align: center;
}

.terms-effective-date {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.terms-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-black);
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--brand-light);
}

.terms-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-black);
    margin: 1.5rem 0 0.5rem;
}

.terms-content p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.terms-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.terms-content blockquote {
    background: var(--brand-light);
    border-left: 4px solid var(--brand-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.terms-content a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.terms-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    background: var(--white);
}

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

.footer-brand {
    max-width: 300px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--brand-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--brand-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--brand-black);
}

.footer-column {
    min-width: 150px;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--brand-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-black);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
}

.modal-close {
    background: none;
    border: none;
    color: var(--brand-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--brand-light);
    color: var(--brand-black);
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    color: var(--brand-gray);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Auth Forms */
.auth-tabs {
    display: flex;
    background: var(--brand-light);
    border-radius: var(--radius);
    padding: 0.25rem;
    margin-bottom: 1.5rem;
}

.tab-button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--brand-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
}

.tab-button.active {
    background: var(--white);
    color: var(--brand-black);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--brand-black);
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-black);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.1);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        padding: 1.125rem 2.25rem;
        font-size: 1.125rem;
        font-weight: 700;
    }

    .btn-large {
        padding: 1.5rem 3rem;
        font-size: 1.25rem;
        font-weight: 700;
    }

    .btn-full {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-banner {
        max-width: 100%;
        height: auto;
    }
    
    .how-it-works {
        padding: 2rem 0;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .how-it-works-content {
        padding-left: 0;
    }

    .audio-upload {
        padding: 3rem 0;
    }

    .audio-drop-zone {
        max-width: 100%;
        min-height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .steps {
        gap: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .audio-drop-zone {
        min-height: 250px;
        max-width: 100%;
    }
    
    .drop-zone-content {
        padding: 1.5rem;
    }
    
    .drop-zone-title {
        font-size: 1.125rem;
    }
    
    .file-analysis {
        padding: 1rem;
    }
    
    .analysis-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .pricing {
        padding: 2rem 0;
    }
    
    .pricing-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta-title {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .cta-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .features {
        padding: 2rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header .container {
        position: relative;
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border: 1px solid var(--border-light);
        border-top: none;
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        margin: 0 1rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 1.5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .how-it-works {
        padding: 1.5rem 0;
    }
    
    .step {
        padding: 1rem 0;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .pricing {
        padding: 1.5rem 0;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .cta-section {
        padding: 1.5rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .features {
        padding: 1.5rem 0;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .header .container {
        padding: 0.75rem 0.75rem;
    }
    
    .nav-menu {
        margin: 0 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    
    .modal-header,
    .modal-body {
        padding: 0.75rem;
    }
}

/* Preparation Progress Indicator */
.preparation-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.preparation-indicator.hidden {
    display: none;
}

.preparation-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-card);
}

.preparation-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.preparation-content h3 {
    color: var(--brand-black);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preparation-content p {
    color: var(--brand-gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.preparation-progress {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}

.preparation-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), #4FD1C7);
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Large File Modal Styles */
.large-file-modal-overlay,
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(4px);
}

.large-file-modal,
.error-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    color: var(--brand-black);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-gray);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--border-light);
    color: var(--brand-black);
}

.modal-body {
    padding: 1.5rem;
}

.file-info {
    background: var(--brand-light);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.file-info p {
    margin: 0.25rem 0;
    color: var(--brand-black);
}

.processing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.option-card h4,
.option-card h5 {
    color: var(--brand-black);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.option-card p {
    color: var(--brand-gray);
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 1rem;
}

.plan-info {
    font-size: 0.75rem;
    color: var(--brand-gray);
    font-style: italic;
    margin: 0.5rem 0 1rem 0;
    padding: 0.5rem;
    background: var(--brand-light);
    border-radius: 4px;
}

/* Topup Modal Styles */
.topup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.topup-modal {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-card);
}

.topup-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.option-card.recommended {
    border: 2px solid var(--brand-primary);
    background: rgba(118, 224, 192, 0.1);
}

.option-card.available {
    border: 1px solid var(--border);
}

.option-card.insufficient {
    opacity: 0.6;
    background: var(--brand-light);
}

.quota {
    font-size: 0.875rem;
    color: var(--brand-gray);
    margin: 0.5rem 0;
}

.insufficient-text {
    color: #EF4444;
    font-size: 0.875rem;
    font-style: italic;
}

/* Server Modal Styles */
.server-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.server-modal {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-card);
}

.server-options {
    margin: 1rem 0;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: #5BC4A8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--brand-gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: #5A6B7D;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--brand-gray);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--border-light);
    color: var(--brand-black);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.error-info {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.error-message {
    color: #DC2626;
    font-weight: 500;
    margin: 0.5rem 0 0 0;
}

.upgrade-options {
    margin-top: 1.5rem;
}

.upgrade-options h4 {
    color: var(--brand-black);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .processing-options {
        grid-template-columns: 1fr;
    }
    
    .large-file-modal,
    .error-modal {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}