/* Proton Mail Exact Style Match - Complete Homepage */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Proton Mail Exact Colors */
    --proton-primary: #6D4AFF;
    --proton-primary-dark: #5A3FE6;
    --proton-primary-light: #8B6FFF;
    --proton-green: #6BDA55;
    --proton-purple-dark: #1e1e2e;
    --proton-purple-darker: #16161e;
    --proton-sidebar-bg: #1e1e2e;
    --proton-sidebar-hover: #2d2d44;
    --proton-text-primary: #1e293b;
    --proton-text-secondary: #64748b;
    --proton-bg-white: #ffffff;
    --proton-bg-light: #f8f9fa;
    --proton-border: #e2e8f0;
    --proton-success: #10b981;
    --proton-error: #ef4444;
    --proton-warning: #f59e0b;
    --proton-blue-dark: #0B1426;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--proton-text-primary);
    background: var(--proton-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Product Bar */
.top-product-bar {
    background: var(--proton-green);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.top-product-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.product-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.product-link:hover {
    opacity: 0.8;
}

.product-link.active {
    font-weight: 600;
}

.product-link i {
    font-size: 14px;
}

.top-bar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
}

.top-bar-btn {
    background: #1e293b;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

/* Navbar - Proton Mail Exact Style */
.navbar {
    background: var(--proton-bg-white);
    border-bottom: 1px solid var(--proton-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-brand .logo-img {
    height: 32px;
    width: auto;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--proton-text-primary);
    margin-left: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--proton-text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--proton-bg-light);
    color: var(--proton-text-primary);
}

.nav-link.active {
    color: var(--proton-primary);
    background: transparent;
}

.nav-link.btn-primary {
    background: var(--proton-primary);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
}

.nav-link.btn-primary:hover {
    background: var(--proton-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 74, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--proton-text-primary);
}

/* Hero Section - Proton Mail Exact Match */
.hero-section {
    background-image: url('../images/mail.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Dark Purple Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 74, 255, 0.85) 0%, rgba(90, 63, 230, 0.9) 50%, rgba(80, 50, 200, 0.85) 100%);
    z-index: 0;
}

/* Grid Pattern Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mobile-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-mobile-img {
        max-height: 400px;
    }
}

.hero-padlock {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    backdrop-filter: blur(10px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--proton-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(109, 74, 255, 0.3);
}

.btn-primary:hover {
    background: var(--proton-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 74, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--proton-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Encrypted Email Section */
.encrypted-email-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--proton-text-primary);
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-block-left {
    direction: ltr;
}

.feature-block-right {
    direction: rtl;
}

.feature-block-right > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--proton-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 18px;
    color: var(--proton-text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.feature-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
}

/* Desktop Screenshot Section */
.desktop-screenshot-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.desktop-mockup {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.desktop-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.desktop-padlock {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: var(--proton-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(109, 74, 255, 0.3);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--proton-primary-light), var(--proton-primary));
    border-radius: 16px;
    color: white;
}

.benefit-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--proton-text-primary);
    margin-bottom: 12px;
}

.benefit-item p {
    font-size: 16px;
    color: var(--proton-text-secondary);
    line-height: 1.6;
}

/* Media Section */
.media-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.section-subtitle {
    font-size: 20px;
    color: var(--proton-text-secondary);
    margin-bottom: 48px;
}

.media-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.media-logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--proton-text-secondary);
    opacity: 0.6;
}

/* Features Grid Section */
.features-grid-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-large {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, var(--proton-primary-light), var(--proton-primary));
    border-radius: 12px;
    color: white;
}

.feature-card-large h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--proton-text-primary);
    margin-bottom: 12px;
}

.feature-card-large p {
    font-size: 16px;
    color: var(--proton-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    min-height: 120px;
}

.preview-email {
    background: white;
    border-radius: 6px;
    padding: 12px;
}

.preview-action {
    height: 24px;
    background: #e2e8f0;
    border-radius: 4px;
    width: 120px;
}

.preview-email.warning {
    border-left: 3px solid var(--proton-error);
}

.preview-warning {
    color: var(--proton-error);
    font-weight: 600;
    font-size: 14px;
}

.preview-password {
    background: white;
    border-radius: 6px;
    padding: 12px;
}

.password-input {
    height: 40px;
    background: #e2e8f0;
    border-radius: 4px;
}

.preview-toggle {
    background: white;
    border-radius: 6px;
    padding: 12px;
}

.toggle-item {
    height: 32px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.preview-schedule {
    background: white;
    border-radius: 6px;
    padding: 12px;
}

.schedule-option {
    height: 32px;
    background: #e2e8f0;
    border-radius: 4px;
    width: 140px;
}

.platform-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 32px;
    color: var(--proton-text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-logo {
    height: 40px;
    margin-bottom: 24px;
}

.cta-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--proton-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-text p {
    font-size: 20px;
    color: var(--proton-text-secondary);
    margin-bottom: 40px;
}

.cta-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cta-img:hover {
    transform: translateY(-5px);
}

.envelope-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.envelope-open {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--proton-primary-light), var(--proton-primary));
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 60px rgba(109, 74, 255, 0.2);
}

.envelope-content {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    background: white;
    border-radius: 8px;
    padding: 24px;
}

/* Alternative Section */
.alternative-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.alternative-text {
    font-size: 20px;
    color: var(--proton-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Business Section */
.business-section {
    padding: 100px 0;
    background: var(--proton-blue-dark);
    color: white;
}

.business-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.business-logo {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.business-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.business-text p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.business-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.business-img:hover {
    transform: scale(1.05);
}

.business-laptop {
    width: 100%;
    max-width: 600px;
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.business-screen {
    background: white;
    border-radius: 8px;
    min-height: 400px;
    padding: 24px;
}

.business-interface {
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 350px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--proton-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--proton-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    font-size: 20px;
    color: var(--proton-primary);
    transition: transform 0.2s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin-left: 24px;
    color: var(--proton-text-secondary);
    line-height: 1.6;
}

/* Content Pages Styles */
.page-content {
    padding: 80px 0 60px;
    min-height: calc(100vh - 200px);
}

.content-page {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-page h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.content-page .last-updated {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 32px;
    font-style: italic;
}

.content-page section {
    margin-bottom: 40px;
}

.content-page section:last-child {
    margin-bottom: 0;
}

.content-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    margin-top: 0;
}

.content-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    margin-top: 24px;
}

.content-page p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}

.content-page ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-page li {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 12px;
}

.content-page a {
    color: #6D4AFF;
    text-decoration: none;
    font-weight: 500;
}

.content-page a:hover {
    text-decoration: underline;
}

.report-form {
    margin-top: 32px;
}

.report-form .form-group {
    margin-bottom: 24px;
}

.report-form label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 15px;
}

.report-form input[type="email"],
.report-form input[type="text"],
.report-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.report-form input:focus,
.report-form textarea:focus {
    outline: none;
    border-color: #6D4AFF;
}

.report-form textarea {
    resize: vertical;
    min-height: 200px;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 24px;
    margin-top: 32px;
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #1e40af;
}

.info-box ul {
    margin: 12px 0;
}

@media (max-width: 768px) {
    .content-page {
        padding: 32px 24px;
    }
    
    .content-page h1 {
        font-size: 28px;
    }
    
    .content-page h2 {
        font-size: 22px;
    }
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 80px 0 40px;
    border-top: 1px solid var(--proton-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--proton-text-primary);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--proton-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--proton-primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--proton-border);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--proton-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 18px;
}

.social-icon:hover {
    background: var(--proton-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    border-top: 1px solid var(--proton-border);
    gap: 20px;
}

.footer-bottom .footer-company-info {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.footer-bottom .footer-company-info p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--proton-text-secondary);
    margin-bottom: 15px;
}

.footer-bottom .footer-company-info p:last-child {
    margin-bottom: 0;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.footer-bottom p {
    color: var(--proton-text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--proton-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--proton-primary);
}

.footer-language select {
    padding: 8px 16px;
    border: 1px solid var(--proton-border);
    border-radius: 6px;
    background: white;
    color: var(--proton-text-primary);
    font-size: 14px;
    cursor: pointer;
}

/* Footer Company Info Responsive */
@media (max-width: 768px) {
    .footer-bottom .footer-company-info {
        padding: 15px 0;
    }
    
    .footer-bottom .footer-company-info p {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-product-bar .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--proton-border);
        padding: 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .benefits-grid,
    .features-grid-large,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile nav overrides (appended) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        color: var(--proton-text-primary);
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
    }

    .nav-menu {
        display: flex !important;
        align-items: center;
        gap: 12px;
        position: static;
    }

    /* Hide all nav links except Sign in and menu toggle on mobile */
    .nav-menu .nav-link:not(.mobile-signin) {
        display: none;
    }

    /* Show Sign in button on mobile */
    .nav-menu .mobile-signin {
        display: block !important;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
    }

    /* Show menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        margin-left: 8px;
    }

    /* Mobile dropdown menu */
    .nav-menu.active {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-bottom: 1px solid var(--proton-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 1200;
    }

    /* Show all links in dropdown when active */
    .nav-menu.active .nav-link:not(.mobile-signin) {
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-link.btn-primary {
        width: 100%;
        text-align: center;
    }
}
