:root {
    --primary: #006AA7;
    --primary-light: #eef7ff;
    --accent: #FFCD00;
    --text-main: #1a2b3c;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --positive: #10b981;
    --negative: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container, .nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
}

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

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

.header-lang {
    font-size: 0.85rem;
    font-weight: 600;
}

.header-lang .active {
    color: var(--primary);
}

/* Hero Section */
.hero-calc {
    padding: 5rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 106, 167, 0.03) 0%, transparent 40%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Calculator Card */
.calculator-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (max-width: 900px) {
    .calculator-card {
        grid-template-columns: 1fr;
    }
}

.calc-inputs {
    padding: 3rem;
    background: #ffffff;
}

.calc-results {
    padding: 3rem;
    background: var(--primary-light);
    border-left: 1px solid var(--border);
}

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

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
}

.input-with-icon input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 106, 167, 0.1);
}

.input-with-icon .currency {
    position: absolute;
    right: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.toggle-group {
    display: flex;
    background: var(--bg-main);
    padding: 0.4rem;
    border-radius: 12px;
    margin-top: 1rem;
    gap: 0.4rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.6rem;
    border: none;
    background: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    color: var(--text-muted);
}

.toggle-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.input-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

/* Checkbox Custom */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1rem;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: inline-block;
    position: relative;
    transition: all 0.3s;
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked + .checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 0.8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-block {
    width: 100%;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #005a8e;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 106, 167, 0.3);
}

/* Contact Form Specific Styling */
.contact-form {
    margin-top: 2.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 106, 167, 0.1);
}


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

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #94a3b8;
}


/* Results Display */
.net-salary-display {
    text-align: center;
    margin-bottom: 2.5rem;
}

.net-salary-display h3 {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.net-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.annual-net {
    font-weight: 600;
    color: var(--text-muted);
}

/* Results Table Breakdown Styling */
.results-breakdown {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.breakdown-item span:first-child {
    color: var(--text-muted);
}

.breakdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.breakdown-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid var(--primary-light);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* Sections & Layout */
.section-wrapper {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.legal-content {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 4rem;
    background: white;
    border-radius: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.legal-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.legal-content h1 span { color: var(--primary); }

.legal-content h2 {
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
    color: var(--text-main);
}

.legal-content p {
    margin-bottom: 1.75rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Footer Enhanced */
footer {
    background: #0f172a;
    color: #f1f5f9;
    padding: 6rem 0 3rem;
    margin-top: 8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-logo {
    font-size: 1.75rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-logo span { color: #94a3b8; }

.footer-about p {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-nav h4, .footer-legal h4 {
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-nav a, .footer-legal a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.footer-nav a:hover, .footer-legal a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Comparison Table */
.comparison-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--primary-light);
}

/* Moving Checklist */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.checklist-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s;
}

.checklist-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.checklist-item i {
    color: var(--positive);
    font-size: 1.2rem;
}

.checklist-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Glassmorphism & Feature Cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Content Cards (Unified Design) */
.cost-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.cost-card, .faq-item {
    padding: 3rem;
    background: white;
    border-radius: 30px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cost-card:hover, .faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.15);
    border-color: var(--primary);
}

.cost-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00a3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: inline-block;
}

.cost-card h4, .faq-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 3rem;
    background: white;
    border-radius: 30px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.15);
    border-color: var(--primary);
}

.feature-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00a3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: inline-block;
}


/* Stats Section */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 3rem;
    background: #0f172a;
    border-radius: 24px;
    color: white;
    margin: 4rem 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 106, 167, 0.1);
}

/* Trust & Author Blocks */
.trust-box {
    background: var(--primary-light);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.trust-box i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.trust-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trust-box hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.author-mini {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-mini img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.author-mini strong {
    display: block;
    font-size: 1.1rem;
}

.author-mini span {
    font-size: 0.85rem;
    color: var(--text-muted);
}


.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #00a3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating { animation: float 3s ease-in-out infinite; }

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

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

@keyframes resultPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.update-animate { animation: resultPop 0.3s ease-out; }
