/* Legal Pages Styling (Privacy & Terms) */
body.legal-bg {
    background: #f8fafc;
    color: #222;
}
.legal-container {
    max-width: 700px;
    margin: 40px auto 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 40px 32px;
}
.legal-container h1 {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #1a365d;
    text-align: center;
}
.legal-container h2 {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: #2b5dab;
    border-bottom: 1px solid #e3e8ee;
    padding-bottom: 0.2em;
}
.legal-container ul {
    margin-left: 1.2em;
    margin-bottom: 1.2em;
}
.legal-container li {
    margin-bottom: 0.7em;
    line-height: 1.7;
}
.legal-container p {
    line-height: 1.7;
    margin-bottom: 1.2em;
}
.legal-container a {
    color: #2b5dab;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .legal-container {
        padding: 18px 6px;
    }
    .legal-container h1 {
        font-size: 1.4em;
    }
    .legal-container h2 {
        font-size: 1.1em;
    }
}
/* Support Page Modern Styles */
.support-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}
.support-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(30, 64, 175, 0.10);
    padding: 48px 36px 36px 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.7s cubic-bezier(.23,1.01,.32,1);
}
.support-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
}
.support-desc {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 28px;
}
.support-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.support-form label {
    font-weight: 500;
    color: #334155;
    font-size: 1rem;
}
.support-form input,
.support-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    color: #1e293b;
    transition: border 0.2s;
}
.support-form input:focus,
.support-form textarea:focus {
    border-color: #3b82f6;
    outline: none;
}
.support-btn {
    margin-top: 8px;
    width: 100%;
    padding: 14px 0;
    font-size: 1.1rem;
    border-radius: 10px;
}
.support-alt {
    margin-top: 18px;
    color: #64748b;
    font-size: 0.98rem;
}
.support-alt a {
    color: #1e40af;
    text-decoration: underline;
}
@media (max-width: 600px) {
  .support-card {
    padding: 32px 10px 24px 10px;
    max-width: 98vw;
  }
}

/* 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: #333;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1e40af;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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


.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.1;
}


.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}


.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    min-width: 160px;
}


.btn-primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}


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


.btn-secondary {
    background: white;
    color: #1e40af;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #1e40af;
    transform: translateY(-2px);
}

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

.mockup-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    min-height: 500px;
    width: 300px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #1e40af;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* Pro Features */
.pro-features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pro-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f5f9;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.pro-plan {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.pro-plan:hover {
    transform: scale(1.05) translateY(-4px);
}

.pro-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    text-align: center;
}

.plan-price {
    text-align: center;
    margin-bottom: 32px;
}

.price-monthly {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 4px;
}

.price-yearly {
    font-size: 14px;
    color: #64748b;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.plan-features li {
    padding: 12px 0;
    position: relative;
    padding-left: 32px;
    color: #334155;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 16px;
}

.plan-features li.included {
    color: #64748b;
    font-style: italic;
}

.savings-note {
    text-align: center;
    font-size: 14px;
    color: #166534;
    font-weight: 700;
    background: #e6f4ea;
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.pro-feature .feature-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pro-badge {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Security Section */
.security {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

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

.security .section-title {
    color: white;
}

.security .section-subtitle {
    color: #cbd5e1;
    margin-bottom: 32px;
}

.security-features {
    list-style: none;
    padding: 0;
}

.security-features li {
    padding: 12px 0;
    position: relative;
    padding-left: 32px;
    color: #e2e8f0;
}

.security-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 18px;
}

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

.shield-icon {
    color: #22c55e;
    opacity: 0.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-buttons {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-btn:hover {
    transform: translateY(-2px);
}

.store-badge {
    height: 60px;
    border-radius: 12px;
    background: black;
    padding: 8px 16px;
}

.download-info {
    margin-top: 32px;
}

.download-note {
    color: #64748b;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-charterone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-charterone span {
    color: #9ca3af;
    font-size: 14px;
}

.charterone-link {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.charterone-link:hover {
    opacity: 0.8;
}

.charterone-logo {
    height: 28px;
    width: auto;
    max-width: 180px;
    filter: brightness(0) invert(1);
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px;
    }

    .pro-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pro-plan {
        transform: none;
    }

    .pro-plan:hover {
        transform: translateY(-4px);
    }

    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 140px;
    }

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

    .feature-card {
        padding: 24px;
    }
}

/* Loading and Animation States */
.mockup-img, .store-badge {
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
}

.mockup-img::before {
    content: 'App Screenshot';
}

.store-badge::before {
    content: 'App Store Badge';
}

.logo-img::before {
    content: '📱';
    font-size: 20px;
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}