/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --accent: #f59e0b;

    --bg-dark: #0f0f23;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --bg-input: #16213e;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border: #27273f;
    --border-hover: #3f3f5a;

    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(168, 85, 247, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

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

.hero-description {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 18px;
    color: var(--text-secondary);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.cta-button svg {
    transition: transform var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Ad Section ===== */
.ad-section {
    padding: 20px 0;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}

.ad-text {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== Calculator Section ===== */
.calculator-section {
    padding: var(--section-padding) 0;
}

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

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.label-icon {
    font-size: 16px;
}

.form-input,
.form-select {
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-family);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.input-with-suffix {
    position: relative;
}

.input-with-suffix .form-input {
    width: 100%;
    padding-right: 50px;
}

.input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 600;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: border-color var(--transition-fast);
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: var(--primary);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.calculate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    margin-top: 8px;
}

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

.btn-icon {
    font-size: 20px;
}

/* ===== Results Card ===== */
.results-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.4s ease;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.results-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.results-icon {
    font-size: 24px;
}

.results-date {
    font-size: 12px;
    color: var(--text-muted);
}

.results-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.result-item.primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.result-item.secondary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.result-icon {
    font-size: 24px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.result-value.large {
    font-size: 24px;
    font-weight: 700;
}

.result-note {
    font-size: 11px;
    color: var(--text-muted);
}

.total-section {
    text-align: center;
    padding: 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.total-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

.total-amount {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

.disclaimer {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.disclaimer-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.disclaimer p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.print-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.print-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

/* ===== Info Section ===== */
.info-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}

.info-card-icon {
    font-size: 28px;
}

.info-card-title {
    font-size: 20px;
    font-weight: 600;
}

.info-card-content {
    padding: 24px;
}

.info-card-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.info-card-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--text-primary);
}

.formula-box {
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.formula-title {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.formula-box code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    color: var(--primary-light);
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.info-notice {
    padding: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 16px;
}

.info-notice strong {
    color: var(--primary-light);
}

.info-notice small {
    color: var(--text-muted);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.info-table th,
.info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-table th {
    background: var(--bg-input);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-table td {
    color: var(--text-secondary);
}

/* ===== Eligibility Section ===== */
.eligibility-section {
    padding: var(--section-padding) 0;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.eligibility-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.eligibility-card.eligible {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.eligibility-card.not-eligible {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.eligibility-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.eligibility-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.eligibility-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eligibility-card li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.eligibility-card.eligible li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.eligibility-card.not-eligible li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: bold;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item[open] {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 24px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== Tips Section ===== */
.tips-section {
    padding: var(--section-padding) 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tip-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.tip-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.tip-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.tip-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.tip-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a,
.footer-legal a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.disclaimer-small {
    font-size: 11px !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .eligibility-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

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

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .calculator-card,
    .results-card {
        padding: 24px;
    }

    .total-amount {
        font-size: 28px;
    }

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

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

/* ===== Print Styles ===== */
@media print {

    .header,
    .ad-section,
    .cta-button,
    .calculate-btn,
    .print-btn,
    .footer,
    .faq-section,
    .tips-section,
    .nav-links {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .results-card {
        box-shadow: none;
        border: 2px solid #333;
    }

    .total-section {
        background: #f5f5f5 !important;
        color: black !important;
    }
}

/* ===== Legal Pages ===== */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    font-size: 14px;
    color: var(--text-muted);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    margin: 12px 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-light);
}

.legal-section a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-section a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.warning-box {
    padding: 16px 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.warning-box p {
    margin: 0;
    font-size: 14px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.cookie-table th {
    background: var(--bg-input);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.cookie-table td {
    color: var(--text-secondary);
}

/* ===== About Page ===== */
.about-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--gradient-hero);
}

.about-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.about-page {
    padding: 60px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.about-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

.features-section {
    margin-bottom: 60px;
}

.features-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-disclaimer {
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content {
    padding: 24px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
}

.disclaimer-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.disclaimer-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact Page ===== */
.contact-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-textarea {
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-family);
    resize: vertical;
    min-height: 120px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.info-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.info-card a {
    color: var(--primary-light);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-notice {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.contact-notice h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-notice p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Nav active state */
.nav-links a.active {
    color: var(--primary-light);
}

/* ===== Responsive for New Pages ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ===== Severance Cap Option Styles ===== */
.cap-option-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.cap-option-container:hover {
    border-color: var(--border-hover);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.info-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    color: var(--primary-light);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.info-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Cap Info Box */
.cap-info-box {
    display: none;
    margin-top: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-md);
    animation: slideDown 0.3s ease;
}

.cap-info-box.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cap-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.cap-info-icon {
    font-size: 22px;
}

.cap-info-header strong {
    font-size: 15px;
    color: var(--primary-light);
}

.cap-info-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cap-info-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cap-current-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-sm);
}

.cap-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.cap-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
}

.cap-example {
    padding: 12px 14px;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cap-example strong {
    color: var(--accent);
}

.cap-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cap-note .note-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.cap-note strong {
    color: var(--secondary-light);
}

/* Responsive */
@media (max-width: 480px) {
    .cap-option-container {
        flex-wrap: wrap;
    }

    .cap-current-value {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}