:root {
    --primary: #1a1a2e; /* Deep Navy */
    --secondary: #1abc9c; /* Teal from logo */
    --accent-orange: #f39c12; /* Orange from logo */
    --accent-purple: #8e44ad; /* Purple from logo */
    --accent-green: #27ae60; /* Green from logo */
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --navy-blue: #2c3e50;
    --burgundy: #c0392b;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 188, 156, 0.3);
}

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

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text .ledger {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(26, 188, 156, 0.8)), url('hero-bg.jpg'); /* Placeholder if I had image */
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.hero .highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Services & Pricing Redesign */
.category-title {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
    padding-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #ebebeb;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    min-height: 3.5rem;
}

.product-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.product-card .duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.product-card p.desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-card .brand-tag {
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-card .btn-learn {
    width: 100%;
    text-align: center;
    padding: 15px;
    background: var(--secondary);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.product-card .btn-learn:hover {
    background: var(--primary);
    transform: none;
}

/* Tax Calculator */
.tax-calculator {
    background: var(--bg-light);
}

.section-title {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 14px;
}

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

.calculator-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    gap: 28px;
    align-items: stretch;
}

.calculator-panel,
.calculator-results {
    background: var(--bg-white);
    border: 1px solid #e4ece9;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.calculator-panel {
    padding: 34px;
}

.tax-form {
    display: grid;
    gap: 22px;
}

.calc-control {
    display: grid;
    gap: 10px;
}

.calc-control label,
.control-label {
    font-weight: 700;
    color: var(--primary);
}

.money-input {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid #dce5e2;
    border-radius: 10px;
    background: white;
    overflow: hidden;
}

.money-input span {
    padding: 0 16px;
    color: var(--secondary);
    font-weight: 800;
}

.money-input input,
.calc-control > input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #dce5e2;
    border-radius: 10px;
    padding: 0 15px;
    font: inherit;
    color: var(--text-main);
    outline: none;
}

.money-input input {
    border: 0;
    border-left: 1px solid #dce5e2;
    border-radius: 0;
}

.money-input:focus-within,
.calc-control > input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.12);
}

.segmented-control {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
}

.segmented-control label {
    min-width: 0;
}

.segmented-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented-control span {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid #dce5e2;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.segmented-control input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.calculator-note {
    margin-top: 22px;
    padding: 16px;
    background: #edf8f5;
    border-left: 4px solid var(--secondary);
    border-radius: 8px;
    color: #41615c;
    font-size: 0.92rem;
}

.calculator-results {
    padding: 34px;
    display: grid;
    gap: 24px;
}

.result-hero {
    padding: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #244f55);
    color: white;
}

.result-hero span,
.result-grid span,
.breakdown-heading small {
    display: block;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-hero strong {
    display: block;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.7rem;
    line-height: 1;
}

.result-hero small {
    color: rgba(255,255,255,0.8);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.result-grid div {
    padding: 18px;
    border: 1px solid #e4ece9;
    border-radius: 10px;
    background: #fbfdfc;
}

.result-grid span {
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-grid strong {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.25rem;
}

.tax-breakdown {
    display: grid;
    gap: 14px;
}

.breakdown-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    color: var(--primary);
    font-weight: 800;
}

.breakdown-heading small {
    color: var(--text-muted);
    text-align: right;
}

#tax-breakdown-list {
    display: grid;
    gap: 10px;
}

.breakdown-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1ef;
}

.breakdown-row:last-child {
    border-bottom: 0;
}

.breakdown-row span {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.breakdown-row strong {
    color: var(--primary);
}

.calculator-cta {
    display: inline-block;
    justify-self: start;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--secondary);
    color: white;
    font-weight: 800;
}

.calculator-cta:hover {
    background: var(--primary);
}

/* Floating WhatsApp Button */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.float-wa:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Results Section */
.results-stats {
    background: var(--primary);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item .stat-number {
    font-size: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.results-quote {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.7);
    border-left: 4px solid var(--secondary);
    padding-left: 30px;
    text-align: left;
}

/* Why & Who */
.flex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.check-list li, .serve-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-list i {
    color: var(--accent-green);
    font-size: 1.4rem;
}

.serve-list i {
    color: var(--secondary);
    font-size: 1.4rem;
}

.why-who h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

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

.social-links {
    margin-top: 40px;
}

.wa-btn {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.contact-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.flex-row {
    display: flex;
    gap: 15px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: white;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    cursor: pointer;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(26, 188, 156, 0.1);
}

#form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 600;
}

#form-status.success,
#form-status.error {
    display: block;
}

#form-status.success {
    background: #e8f5e9;
    color: #1b5e20;
    border-left: 5px solid #27AE60;
}

#form-status.error {
    background: #ffebee;
    color: #b71c1c;
    border-left: 5px solid #c62828;
}

@media (max-width: 576px) {
    .form-group.flex-row {
        flex-direction: column;
    }
}

/* Footer */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .flex-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .calculator-shell {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .result-grid {
        grid-template-columns: 1fr;
    }
    .breakdown-heading {
        display: grid;
        align-items: start;
    }
    .breakdown-heading small {
        text-align: left;
    }
    .calculator-panel,
    .calculator-results {
        padding: 24px;
    }
    .result-hero strong {
        font-size: 2.1rem;
    }
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.js .reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
