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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

/* Color Variables - Based on logo colors */
:root {
    --primary-teal: #14b8a6;
    --primary-blue: #0ea5e9;
    --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
    --gradient-light: linear-gradient(135deg, #a7f3d0 0%, #bfdbfe 100%);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-light: #f1f5f9;
    --border-light: #e2e8f0;
    --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);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.cta-link {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Hero Section - Cleaner AnythingLLM-inspired design */
.hero {
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-tagline {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.tagline-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    font-weight: 400;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    min-width: 280px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Process Visual - Simplified for cleaner look */
.process-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-icon.design {
    background: var(--primary-teal);
}

.step-icon.code {
    background: var(--primary-blue);
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.process-arrow {
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    position: relative;
    margin: 0 1rem;
    align-self: flex-start;
    margin-top: 30px;
}

.process-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--primary-blue);
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.video-wrapper {
    max-width: 800px;
    margin: 3rem auto 0;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-light);
    position: relative;
}

.play-button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
}

.video-subtext {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 400px;
}

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

.step-content {
    flex: 1;
}

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

.step-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    position: relative;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.process-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--primary-teal);
}

.continuous-feedback {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-light);
    border-radius: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.feedback-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.use-case-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Research Section */
.research {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.research-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.research-cite-note {
    margin: 1rem 0 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.research-cite-note a {
    color: var(--primary-teal);
    text-decoration: underline;
    font-weight: 600;
}

.research-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.research-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.paper-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.paper-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.paper-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.paper-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.paper-arrow {
    font-size: 1.5rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.research-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-card {
    background: var(--gradient-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.highlight-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Download Section - Prominent and centered */
.download {
    padding: 8rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.download-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 400;
}

.opt-in-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.opt-in-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.opt-in-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.opt-in-label {
    font-weight: 600;
    color: var(--text-primary);
}

.opt-in-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.opt-in-input {
    flex: 1;
    min-width: 240px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0.6rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.opt-in-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.opt-in-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opt-in-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.download-terms {
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.terms-checkbox input {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary-teal);
}

.terms-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

.download-requirements {
    margin-bottom: 4rem;
}

.requirements-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.requirements-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

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

.requirement-text {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 1rem;
}

.download-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
}

.platform-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.platform-card:hover {
    border-color: var(--primary-teal);
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platform-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.platform-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.download-note {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--gradient-light);
    border-radius: 1rem;
    border: 1px solid var(--border-light);
}

.note-text {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.opt-in-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.opt-in-modal.active {
    opacity: 1;
    visibility: visible;
}

.opt-in-modal-dialog {
    background: var(--bg-primary);
    border-radius: 1.25rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    max-width: 520px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.mac-install-dialog {
    max-width: 560px;
}

.mac-install-lede {
    margin: 1rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mac-install-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.mac-install-list li {
    margin-bottom: 0.65rem;
}

.mac-install-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
}

.mac-install-link:hover {
    color: var(--primary-teal);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.modal-actions .opt-in-button {
    flex: 1;
    min-width: 200px;
    text-align: center;
    width: auto;
}

.opt-in-skip {
    flex: 1;
    min-width: 160px;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.85rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.opt-in-skip:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

body.modal-open {
    overflow: hidden;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

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

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

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

.form-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
}

.about-author {
    background: var(--gradient-light);
    padding: 2rem;
    border-radius: 1rem;
}

.author-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.author-desc {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.author-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.author-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.highlight-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

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

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        width: 4px;
        height: 60px;
    }
    
    .research-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .requirements-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .requirement-item {
        width: 100%;
        max-width: 300px;
    }
    
    .download-platforms {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .platform-card {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .opt-in-modal-dialog {
        padding: 2rem;
    }
    
    .modal-close {
        font-size: 1.35rem;
    }
    
    .opt-in-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
}

@media (max-width: 480px) {
    .opt-in-modal-dialog {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .opt-in-button,
    .opt-in-skip {
        width: 100%;
    }
    
    .hero-tagline {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .process-diagram {
        width: 250px;
        height: 250px;
    }
    
    .step-box {
        width: 80px;
        height: 80px;
    }
    
    .result-circle {
        width: 60px;
        height: 60px;
    }
}
