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

:root {
    --primary-color: #0a2f52;
    --primary-dark: #061f37;
    --secondary-color: #7ec8e3;
    --accent-color: #7ec8e3;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

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

.nav-brand .logo {
    height: 120px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-links a.btn-primary {
    color: white !important;
}

.nav-links a.btn-primary:hover {
    color: white !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-large {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a2f52 0%, #7ec8e3 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-cta .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Comparison Table */
.comparison {
    background: var(--bg-light);
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.comparison-header, .comparison-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.comparison-header {
    background: var(--bg-light);
    font-weight: 700;
    padding: 1.5rem 1rem;
}

.comparison-header .col h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.comparison-row {
    padding: 1rem;
    align-items: center;
}

.comparison-row:hover {
    background: var(--bg-light);
}

.comparison-row .col {
    padding: 0.5rem;
}

.comparison-row .feature {
    font-weight: 600;
}

.col.highlight {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.badge {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.check {
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.cross {
    color: var(--danger);
    font-weight: bold;
    margin-right: 0.5rem;
}

.minus {
    color: var(--text-light);
    margin-right: 0.5rem;
}

/* Calculator */
.calculator-section {
    background: white;
}

.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
}

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

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.input-with-prefix .prefix {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.input-with-prefix input {
    border: none;
    flex: 1;
    padding: 0.75rem;
    font-size: 1rem;
}

input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.result-row:last-of-type {
    border-bottom: none;
}

.result-row.highlight {
    background: var(--bg-light);
    margin: 1rem -1rem 0;
    padding: 1.5rem 1rem;
    border-radius: 8px;
}

.result-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.result-value.success {
    color: var(--success);
}

.result-value-large {
    font-weight: 800;
    font-size: 2rem;
    color: var(--success);
}

.result-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
}

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

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gas-sponsorship-info {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gas-sponsorship-info h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.gas-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.gas-option {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.gas-option h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.gas-option ul {
    list-style: none;
    padding: 0;
}

.gas-option li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.gas-option li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Use Cases */
.use-cases {
    background: white;
}

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

.use-case-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

.use-case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Trust Section */
.trust-section {
    background: var(--bg-light);
}

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

.trust-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.trust-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.reserve-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reserve-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.reserve-item.highlight {
    background: #dcfce7;
    border: 2px solid var(--success);
    font-weight: bold;
}

.reserve-item strong {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.reserve-item strong.success {
    color: var(--success);
}

.reserve-item strong.warning {
    color: var(--warning);
}

/* Clickable reserve items */
a.reserve-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

a.reserve-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #e8f4fd;
}

a.reserve-link .item-subtext {
    color: var(--primary-color);
}

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

.dashboard-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.dashboard-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.reserve-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-bar {
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.breakdown-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.contract-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contract-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.address {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* FAQ */
.faq-section {
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0a2f52 0%, #7ec8e3 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

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

.cta-buttons .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-note {
    margin-top: 2rem;
}

.cta-note a {
    color: white;
    text-decoration: underline;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

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

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

.footer-section a:hover {
    color: white;
}

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

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-header {
        display: none;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .col.feature {
        font-weight: 700;
        background: var(--primary-color);
        color: white;
        padding: 0.75rem;
        border-radius: 4px;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .comparison-row .col:not(.feature) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        background: var(--bg-light);
        border-radius: 4px;
    }

    .comparison-row .col:not(.feature)::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
        font-size: 0.9rem;
    }

    .comparison-row .col.highlight {
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
        border: 2px solid var(--primary-color);
    }

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

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

    .gas-options {
        grid-template-columns: 1fr;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Legal Disclaimers Section */
.legal-section {
    padding: 4rem 0;
    background: #fff5f5;
    border-top: 3px solid var(--danger);
    border-bottom: 3px solid var(--danger);
}

.legal-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--danger);
}

.disclaimer-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.disclaimer-card.critical {
    border-color: var(--danger);
    border-width: 3px;
    background: #fef2f2;
}

.disclaimer-card h3 {
    color: var(--danger);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.disclaimer-card.critical h3 {
    font-size: 1.5rem;
}

.disclaimer-content h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.disclaimer-content h4:first-child {
    margin-top: 0;
}

.disclaimer-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.disclaimer-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--danger);
    text-align: center;
}

.disclaimer-footer p {
    font-size: 1.1rem;
    color: var(--danger);
}

.disclaimer-footer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-color);
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
