/* CSS variables and Core Design System */
:root {
    --bg-dark: #090d16;
    --bg-card: rgba(17, 25, 40, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Service Color Palettes */
    --color-accounting-primary: #3b82f6;
    --color-accounting-secondary: #1d4ed8;
    --color-accounting-glow: rgba(59, 130, 246, 0.15);

    --color-hr-primary: #14b8a6;
    --color-hr-secondary: #0f766e;
    --color-hr-glow: rgba(20, 184, 166, 0.15);

    --color-tax-primary: #f59e0b;
    --color-tax-secondary: #b45309;
    --color-tax-glow: rgba(245, 158, 11, 0.15);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(12px);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Grid & Layout System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Glowing Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-accounting-primary) 0%, transparent 70%);
    top: -100px;
    left: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-hr-primary) 0%, transparent 70%);
    top: 50%;
    right: -200px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-tax-primary) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.accent-text {
    background: linear-gradient(135deg, var(--color-accounting-primary), var(--color-hr-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--color-accounting-primary), var(--color-hr-primary));
    padding: 10px 24px;
    border-radius: 99px;
    color: #fff;
    font-weight: 600;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 24px;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: var(--glass-blur);
}

.mobile-nav.open {
    right: 0;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.mobile-btn {
    background: linear-gradient(135deg, var(--color-accounting-primary), var(--color-hr-primary));
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accounting-primary) 0%, var(--color-hr-primary) 100%);
    color: #fff;
    border: none;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 99px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accounting-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual Graphics */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: absolute;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.main-card {
    width: 320px;
    height: 240px;
    z-index: 2;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.floating-card-1 {
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    animation: float1 6s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 40px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
    animation: float2 6s ease-in-out infinite;
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-accounting-primary);
}

.card-icon.teal {
    background: rgba(20, 184, 166, 0.15);
    color: var(--color-hr-primary);
}

.card-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-tax-primary);
}

.card-header-visual {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.card-header-visual h4 {
    font-size: 16px;
}

.card-header-visual p {
    font-size: 12px;
    color: var(--text-secondary);
}

.chart-mock {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    padding-top: 20px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--color-accounting-primary), var(--color-hr-primary));
    border-radius: 4px;
    min-height: 20px;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 65%;
}

.bar-3 {
    height: 50%;
}

.bar-4 {
    height: 85%;
}

.bar-5 {
    height: 70%;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px) rotate(2deg);
    }

    50% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px) rotate(-3deg);
    }

    50% {
        transform: translateY(12px) rotate(1deg);
    }
}

/* Section Common Styling */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

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

.swipe-hint {
    display: none;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: var(--transition-smooth);
}

.accounting-theme::before {
    background: var(--color-accounting-primary);
}

.hr-theme::before {
    background: var(--color-hr-primary);
}

.tax-theme::before {
    background: var(--color-tax-primary);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.accounting-theme .service-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accounting-primary);
}

.hr-theme .service-icon-wrapper {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-hr-primary);
}

.tax-theme .service-icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-tax-primary);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-bottom: 32px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 12px;
}

.service-list li i {
    width: 16px;
    height: 16px;
}

.accounting-theme .service-list li i {
    color: var(--color-accounting-primary);
}

.hr-theme .service-list li i {
    color: var(--color-hr-primary);
}

.tax-theme .service-list li i {
    color: var(--color-tax-primary);
}

.service-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.accounting-theme .service-link {
    color: var(--color-accounting-primary);
}

.hr-theme .service-link {
    color: var(--color-hr-primary);
}

.tax-theme .service-link {
    color: var(--color-tax-primary);
}

.service-link:hover i {
    transform: translateX(4px);
}

.calc-widget {
    background: rgba(17, 25, 40, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.calc-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.calc-tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.calc-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.calc-tab-btn.active {
    color: var(--text-primary);
}

.calc-tab-btn.active[data-tab="accounting"] {
    border-bottom-color: var(--color-accounting-primary);
    background: rgba(59, 130, 246, 0.05);
}

.calc-tab-btn.active[data-tab="hr"] {
    border-bottom-color: var(--color-hr-primary);
    background: rgba(20, 184, 166, 0.05);
}

.calc-tab-btn.active[data-tab="tax"] {
    border-bottom-color: var(--color-tax-primary);
    background: rgba(245, 158, 11, 0.05);
}

.calc-content {
    padding: 40px;
}

.calc-pane {
    display: none;
}

.calc-pane.active {
    display: block;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-inputs h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.calc-intro {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Forms controls */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
}

.calc-results {
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blue-theme {
    background: radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.teal-theme {
    background: radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.15) 0%, rgba(0, 0, 0, 0) 70%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.gold-theme {
    background: radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.15) 0%, rgba(0, 0, 0, 0) 70%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.results-inner {
    position: relative;
    z-index: 2;
}

.calc-results h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.result-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.metric-label {
    color: var(--text-secondary);
    font-size: 15px;
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.blue-theme .metric-value {
    color: var(--color-accounting-primary);
}

.teal-theme .metric-value {
    color: var(--color-hr-primary);
}

.gold-theme .metric-value {
    color: var(--color-tax-primary);
}

.indicator-badge {
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.blue-theme .indicator-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.teal-theme .indicator-badge {
    background: rgba(20, 184, 166, 0.15);
    color: #99f6e4;
}

.gold-theme .indicator-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fde047;
}

.result-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 16px;
}

.value-item i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.value-item i.blue {
    color: var(--color-accounting-primary);
}

.value-item i.teal {
    color: var(--color-hr-primary);
}

.value-item i.gold {
    color: var(--color-tax-primary);
}

.value-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* DNA SVG Animation */
.dna-animation {
    overflow: visible;
}

.dna-strand-1 {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 8s linear infinite;
}

.dna-strand-2 {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 8s linear infinite;
    animation-delay: -4s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.detail-item i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--color-hr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-item span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.detail-item strong {
    font-size: 16px;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
}

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

.form-status {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.form-status.success {
    color: var(--color-hr-primary);
}

.form-status.error {
    color: #ef4444;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    background: #060910;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-brand p {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

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

.footer-legal {
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal p {
    margin-bottom: 8px;
}

/* Chatbot Style */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--color-accounting-primary), var(--color-hr-primary));
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

.badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: var(--glass-blur);
}

.chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header h4 {
    font-size: 15px;
}

.status-indicator {
    font-size: 11px;
    color: var(--color-hr-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-hr-primary);
    border-radius: 50%;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
}

.chat-message.user {
    background: linear-gradient(135deg, var(--color-accounting-primary), var(--color-accounting-secondary));
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.suggest-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 99px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.suggest-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.chat-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    gap: 12px;
}

.chat-footer input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 14px;
}

.chat-footer input:focus {
    outline: none;
    border-color: var(--text-muted);
}

.chat-footer button {
    background: var(--color-accounting-primary);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-footer button:hover {
    background: var(--color-accounting-secondary);
}

/* Typing Indicator Animation */
.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 320px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        display: flex;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-legal {
        text-align: center;
        margin-top: 20px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        right: 0;
    }

    .calc-tabs {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide standard scrollbar on Firefox */
    }
    .calc-tabs::-webkit-scrollbar {
        display: none; /* Hide scrollbar on Chrome/Safari */
    }
    .calc-tab-btn {
        flex: 0 0 auto;
        padding: 16px 20px;
        white-space: nowrap;
    }

    .swipe-hint {
        display: inline-block;
        margin-top: 12px;
        padding: 6px 14px;
        border-radius: 99px;
        background: rgba(59, 130, 246, 0.1);
        color: var(--color-accounting-primary);
        font-size: 13px;
        font-weight: 500;
        border: 1px dashed rgba(59, 130, 246, 0.3);
        animation: pulse-hint 2s infinite;
    }
    @keyframes pulse-hint {
        0%, 100% { opacity: 0.8; }
        50% { opacity: 1; transform: scale(1.02); }
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .main-card {
        width: 270px;
        height: 210px;
        transform: none;
        padding: 16px;
    }

    .floating-card-1 {
        right: -10px;
        top: -10px;
        padding: 12px;
    }

    .floating-card-2 {
        left: -10px;
        bottom: 20px;
        padding: 12px;
    }

    .calc-content {
        padding: 20px;
    }

    .calc-results {
        padding: 20px;
    }

    .about-content h2,
    .contact-info h2,
    .section-title h2 {
        font-size: 28px;
    }
}

/* WhatsApp Direct Widget Styling */
.whatsapp-card {
    text-align: center;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-badge {
    position: relative;
    width: 70px;
    height: 70px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon-large {
    width: 36px;
    height: 36px;
    color: #fff;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #25d366;
    border-radius: 50%;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-intro {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 320px;
}

.whatsapp-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.whatsapp-disclaimer {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

#btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

#btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}