:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary: #06B6D4;
    --success: #10B981;
    --dark: #0F172A;
    --gray-900: #0F172A;
    --gray-800: #1E293B;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50: #F8FAFC;
    --white: #FFFFFF;
    
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-icon {
    color: var(--primary);
}

.nav-brand .logo {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.5px;
}

.navbar.scrolled .nav-brand .logo {
    color: var(--gray-900);
}

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

.nav-links .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.nav-links .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar.scrolled .nav-links .btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.navbar.scrolled .nav-links .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.925rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    filter: brightness(1.05);
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.modal-container .btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: var(--white) !important;
    position: relative;
    overflow: hidden;
}

.modal-container .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.modal-container .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.modal-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    padding: 7rem 0 5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    position: relative;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

@media (max-width: 968px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--white);
    letter-spacing: -1px;
}

.gradient-text {
    color: var(--white);
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.arrow {
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.price-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-indicators {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
}

.indicator-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* Hero Illustration */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.illustration-header {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.illustration-subject {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.illustration-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.illustration-content {
    padding: 1.5rem 1.25rem;
}

.topic-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-row {
    display: grid;
    grid-template-columns: 110px 1fr 45px;
    align-items: center;
    gap: 0.75rem;
}

.topic-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.frequency-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.frequency-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 2px;
}

.frequency-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    font-weight: 500;
}

.illustration-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.illustration-footer svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Results Section */
.results-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.results-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
}

@media (max-width: 768px) {
    .results-showcase {
        flex-direction: column;
    }
}

.state-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 320px;
    min-height: 280px;
    position: relative;
}

.state-header {
    margin-bottom: 1.5rem;
}

.state-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.before-card {
    background: var(--white);
}

.after-card {
    background: var(--white);
}

.before-card .state-label {
    color: var(--gray-500);
}

.after-card .state-label {
    color: var(--primary);
}

/* PDF Stack Container */
.pdf-stack-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pdf-document-stack {
    position: relative;
    width: 120px;
    height: 140px;
}

.pdf-document {
    position: absolute;
    width: 90px;
    height: 110px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pdf-page {
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pdf-header {
    margin-bottom: 12px;
}

.pdf-logo {
    background: #DC2626;
    color: white;
    width: fit-content;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pdf-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdf-line {
    height: 2px;
    background: #E5E7EB;
    border-radius: 1px;
    width: 100%;
}

.pdf-line.short {
    width: 70%;
}

.pdf-back {
    transform: rotate(-8deg) translate(-15px, -5px);
    z-index: 1;
    opacity: 0.7;
}

.pdf-middle {
    transform: rotate(3deg) translate(8px, -2px);
    z-index: 2;
    opacity: 0.85;
}

.pdf-front {
    transform: rotate(-2deg);
    z-index: 3;
}

.more-files {
    position: absolute;
    bottom: -5px;
    right: -10px;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Confusion Stats */
.confusion-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.confusion-stats .stat {
    text-align: center;
}

.confusion-stats .stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.confusion-stats .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.stat-separator {
    color: var(--gray-300);
    font-size: 0.75rem;
}

.transform-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.transform-arrow svg {
    animation: pulse 2s infinite;
}

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

.transform-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.insights-preview {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.insight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gray-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-text {
    display: flex;
    flex-direction: column;
}

.insight-text strong {
    font-size: 0.95rem;
    color: var(--gray-900);
    font-weight: 600;
}

.insight-text span {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.results-cta {
    text-align: center;
    margin-top: 3rem;
}

.results-cta .btn {
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

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


/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* How it works */
.how-it-works {
    background: var(--white);
}

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

.step {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.step-icon svg {
    color: var(--primary);
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
}

/* Features */
.features {
    background: var(--gray-50);
}

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

.feature-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s;
}

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

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
}

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

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
}

/* Pricing */
.pricing {
    background: var(--white);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--gray-600);
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-900);
}

.pricing-description {
    color: var(--gray-600);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
}

.check {
    flex-shrink: 0;
    color: var(--success);
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Upload Section */
.upload-section {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
}

.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    background: var(--white);
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary);
    background: var(--primary-light);
    background: rgba(92, 62, 248, 0.05);
}

.upload-icon svg {
    color: var(--gray-400);
}

.upload-area h3 {
    margin: 1rem 0 0.5rem;
    color: var(--gray-900);
}

.upload-area p {
    color: var(--gray-600);
}

.link-button {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.upload-hint {
    font-size: 0.875rem;
    margin-top: 0.5rem !important;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-name {
    font-weight: 500;
    color: var(--gray-900);
}

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

.file-remove {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.file-remove:hover {
    color: var(--secondary);
}

.upload-actions {
    margin-top: 2rem;
    text-align: center;
}

.payment-info {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Upload Modal */
.upload-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
}

.upload-modal.show {
    display: block;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

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

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.modal-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.modal-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modal-close:hover svg {
    color: var(--white);
}

.modal-close svg {
    color: var(--gray-600);
}

.modal-content {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
    position: relative;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Scroll indicator - visible as a pill at bottom */
.upload-modal.show .modal-content::after {
    content: '↓';
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(59, 130, 246, 0.25);
    color: #3B82F6;
    border-radius: 50%;
    display: block;
    font-size: 20px;
    font-weight: bold;
    z-index: 10001;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.modal-header::before {
    content: '';
    display: none;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.modal-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.modal-header .payment-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-weight: 500;
}

/* Form Styles */
.analysis-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 10px 25px rgba(59, 130, 246, 0.05);
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, #3B82F6, #8B5CF6) border-box;
    border: 2px solid transparent;
    transform: translateY(-1px);
}

.form-group input[type="email"]::placeholder {
    color: var(--gray-400);
    transition: opacity 0.3s ease;
}

.form-group input[type="email"]:focus::placeholder {
    opacity: 0.5;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.375rem;
}

/* Modal Upload Area */
.modal-upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.modal-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-upload-area:hover::before,
.modal-upload-area.drag-over::before {
    opacity: 1;
}

.modal-upload-area:hover,
.modal-upload-area.drag-over {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.modal-upload-area .upload-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.upload-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.upload-hint {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.modal-file-list {
    margin-top: 1rem;
    max-height: 150px;
    overflow-y: auto;
}

.modal-file-list .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: linear-gradient(to right, var(--white), rgba(59, 130, 246, 0.01));
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    animation: slideIn 0.3s ease;
    animation: slideIn 0.3s ease;
}

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

@keyframes sparkle {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.7;
        filter: brightness(1.5);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.modal-file-list .file-item:hover {
    border-color: var(--primary);
    background: linear-gradient(to right, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.02));
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Process Info */
.process-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.75rem;
    background: linear-gradient(135deg, #FAFAFA 0%, #F9FAFB 100%);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    position: relative;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(30, 64, 175, 0.08) 100%);
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(30, 64, 175, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}

.step-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
}

.step-content strong {
    font-size: 0.8125rem;
    color: var(--gray-900);
    font-weight: 600;
    line-height: 1.2;
}

.step-content span {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0.125rem;
}

.form-footer {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-top: 1.25rem;
}

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

.form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .modal-container {
        width: calc(100% - 2rem);
        max-width: calc(100vw - 2rem);
        max-height: 85vh;
        margin: 1rem auto;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .modal-upload-area {
        padding: 1.5rem 1rem;
    }
    
    .modal-upload-area .upload-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        padding-bottom: 2rem;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        word-break: break-word;
        overflow-wrap: break-word;
        position: relative;
        /* Show scrollbar on mobile for clarity */
        scrollbar-width: thin;
        scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
    }
    
    .modal-content::-webkit-scrollbar {
        width: 6px;
        display: block !important;
    }
    
    .modal-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 3px;
    }
    
    .modal-content::-webkit-scrollbar-thumb {
        background-color: rgba(59, 130, 246, 0.5);
        border-radius: 3px;
    }
    
    
    /* Remove the fade gradient on mobile - it causes issues */
    
    @keyframes pulse {
        0%, 100% { 
            opacity: 0.6;
            transform: translateX(-50%) translateY(0);
        }
        50% { 
            opacity: 1;
            transform: translateX(-50%) translateY(3px);
        }
    }
    
    @keyframes bounce {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(5px); }
    }
    
    .modal-content p,
    .modal-content span:not(.step-title),
    .modal-content .form-hint,
    .modal-content .upload-hint {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .modal-header p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .payment-note {
        font-size: 0.85rem;
    }
    
    .process-info {
        flex-direction: column;
    }
    
    .process-step {
        flex-wrap: wrap;
    }
    
    .step-content {
        min-width: 0;
        flex: 1;
    }
    
    .step-title {
        font-size: 0.875rem;
    }
    
    .step-desc {
        font-size: 0.75rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .form-hint,
    .upload-hint {
        font-size: 0.75rem;
        word-break: break-word;
    }
    
    .modal-file-list {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .form-footer {
        font-size: 0.75rem;
        line-height: 1.4;
        word-break: break-word;
    }
}

/* Pattern Analysis Widget */
.pattern-analysis {
    margin-top: 3rem;
}

.pattern-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pattern-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pattern-header p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.pattern-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.pattern-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.summary-stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    border-radius: 16px;
    color: var(--white);
    min-width: 100px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--white);
    opacity: 0.9;
}

.summary-content {
    flex: 1;
}

.summary-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.question-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
}

.year-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.year-badge {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.year-badge.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(30, 64, 175, 0.15) 100%);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pattern-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    min-width: 180px;
}

.frequency-chart {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 60px;
    margin-bottom: 0.5rem;
}

.chart-bar {
    width: 8px;
    background: linear-gradient(to top, #3B82F6, #60A5FA);
    border-radius: 2px 2px 0 0;
    transition: height 0.3s ease;
}

.chart-bar:nth-child(even) {
    opacity: 0.7;
}

.chart-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pattern-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.insight-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.insight-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    transform: translateY(-2px);
}

.insight-card svg {
    flex-shrink: 0;
}

.insight-card span {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.insight-card strong {
    color: var(--gray-900);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pattern-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-stat {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .pattern-visual {
        width: 100%;
    }
    
    .pattern-insights {
        grid-template-columns: 1fr;
    }
}

/* Why Not ChatGPT Section */
.why-not-chatgpt {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-column {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.chatgpt-column {
    border: 2px solid #FCA5A5;
    background: linear-gradient(135deg, #FFF 0%, #FEF2F2 100%);
}

.studiepartner-column {
    border: 2px solid #86EFAC;
    background: linear-gradient(135deg, #FFF 0%, #F0FDF4 100%);
}

.comparison-header {
    margin-bottom: 1.5rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

.service-badge.chatgpt {
    background: #FEE2E2;
    color: #DC2626;
}

.service-badge.studiepartner {
    background: #DCFCE7;
    color: #16A34A;
}

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

.comparison-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.comparison-item.negative svg {
    color: #DC2626;
    flex-shrink: 0;
}

.comparison-item.positive svg {
    color: #16A34A;
    flex-shrink: 0;
}

.comparison-item span {
    color: var(--gray-700);
    line-height: 1.4;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-divider span {
    background: var(--gray-900);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
}

.comparison-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-cta p {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.comparison-cta .btn {
    min-width: 250px;
}

/* Mobile Responsiveness for Why Not ChatGPT */
@media (max-width: 768px) {
    .why-not-chatgpt {
        padding: 3rem 0;
    }
    
    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vs-divider {
        padding: 1rem 0;
    }
    
    .vs-divider span {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .comparison-column {
        padding: 1.5rem;
    }
    
    .comparison-cta {
        padding: 2rem 1.5rem;
    }
    
    .comparison-cta p {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo-icon {
    flex-shrink: 0;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 768px) {
    /* Hero section */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* All section titles */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Feature cards */
    .feature-card h3 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    /* Steps */
    .step h3 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    /* Pattern headers */
    .pattern-header h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .summary-content h4 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    /* Pricing */
    .pricing-title {
        font-size: 1.25rem;
    }
    
    /* Footer */
    .footer h3 {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: start;
    }
    
    .nav-links {
        display: none;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: start;
        gap: 2rem;
    }
}
/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 3rem auto 0;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form .form-group:last-child {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--gray-50);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    font-family: inherit;
}

.contact-form .btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    background: #d1fae5;
    color: #065f46;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
