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

:root {
    /* Thinkogic Theme Colors - Premium Gradient Theme */
    --primary-color: #0066CC;
    --primary-dark: #0052A3;
    --primary-light: #3385D6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-card: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    --gradient-button: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-button-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --bg-primary: #FFFFFF;
    --bg-secondary: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --bg-tertiary: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border-color: rgba(102, 126, 234, 0.2);
    --border-light: rgba(118, 75, 162, 0.1);
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Typography */
    --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(102, 126, 234, 0.1);
    --shadow-md: 0 8px 16px rgba(102, 126, 234, 0.15);
    --shadow-lg: 0 15px 30px rgba(102, 126, 234, 0.2);
    --shadow-xl: 0 25px 50px rgba(102, 126, 234, 0.25);
    --shadow-card: 0 10px 30px rgba(102, 126, 234, 0.15);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: #ffffff;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent text overflow on mobile */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    min-height: 71px;
}

.logo a {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
    gap: var(--spacing-sm);
}

.logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: none;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo a:hover .logo-image {
    opacity: 0.9;
}

.logo-invoice {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-text {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #4285f4;
}

.btn-free-trial {
    background: #4285f4;
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    position: relative;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4), 0 0 0 0 rgba(66, 133, 244, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(66, 133, 244, 0.6), 0 0 0 8px rgba(66, 133, 244, 0);
        transform: scale(1.02);
    }
}

.btn-free-trial:hover {
    background: #3367d6;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5);
    animation: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    font-size: var(--font-size-sm);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

/* Hide hamburger since we don't have a menu anymore */
.hamburger {
    display: none !important;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.hamburger:hover span {
    background-color: var(--primary-color);
}

/* Section Styles */
section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

.footer>.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all var(--transition-base);
}

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

.footer-separator {
    color: #666;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #333;
    font-size: var(--font-size-sm);
    color: #999;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-right {
        gap: var(--spacing-sm);
    }

    .nav-text {
        font-size: var(--font-size-sm);
        display: none;
    }

    .btn-free-trial {
        padding: 8px 16px;
        font-size: var(--font-size-xs);
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
select:focus {
    outline-offset: 2px;
}

/* VAT Calculator Specific Styles */
.vat-calculator-hero {
    background: url('https://thinkogic.com/wp-content/uploads/2026/01/hero-section-free-gst-calculator-thinkogic.png') center center / cover no-repeat;
    padding: calc(var(--spacing-xxl) + 80px) 0 var(--spacing-xxl) 0;
    min-height: auto;
    position: relative;
    overflow: visible;
    padding-bottom: calc(var(--spacing-xxl) + 160px);
}

.vat-calculator-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.vat-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.vat-hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vat-hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.calculator-section {
    position: relative;
    margin-top: -200px;
    z-index: 10;
    padding-top: 0;
}

.calculator-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.calculator-card {
    background: #FFFFFF;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.calculator-form {
    flex-direction: column;
}

.main-calculator-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: end;
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    font-size: 25px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
        linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #6b21a8 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
    color: #1F2937 !important;
    height: 56px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    opacity: 1;
    visibility: visible;
    font-weight: 500;
    line-height: 1.5;
}

/* Ensure select text is always visible and has proper background with gradient border */
.form-group select {
    -webkit-text-fill-color: #1F2937 !important;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center !important;
    background-size: 12px 8px !important;
    background-image: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #6b21a8 100%);
    background-origin: padding-box, padding-box, border-box;
    background-clip: padding-box, padding-box, border-box;
    background-position: 0 0, right 16px center, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% 100%, 12px 8px, 100% 100%;
    padding-right: 48px;
    cursor: pointer;
    color: #1F2937 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

.form-group input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

/* Hide autocomplete dropdown for number inputs */
.form-group input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Hide browser autocomplete dropdown */
.form-group input::-webkit-calendar-picker-indicator {
    display: none;
}

input::-webkit-list-button {
    display: none;
}

input::-webkit-contacts-auto-fill-button {
    display: none;
}

input::-webkit-credentials-auto-fill-button {
    display: none;
}

.form-group input:hover,
.form-group select:hover {
    background-color: #FFFFFF;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
        linear-gradient(135deg, #1e40af 0%, #5b21b6 50%, #7c3aed 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.form-group select:hover {
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
        url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #1e40af 0%, #5b21b6 50%, #7c3aed 100%);
    background-position: 0 0, right 16px center, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% 100%, 12px 8px, 100% 100%;
    background-origin: padding-box, padding-box, border-box;
    background-clip: padding-box, padding-box, border-box;
}

.form-group select:hover::before {
    background: linear-gradient(135deg, #1e40af 0%, #5b21b6 50%, #7c3aed 100%);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background-color: #FFFFFF;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
        linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #6b21a8 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1), 0 4px 12px rgba(76, 29, 149, 0.15);
}

.form-group select:focus {
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
        url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #6b21a8 100%);
    background-position: 0 0, right 16px center, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% 100%, 12px 8px, 100% 100%;
    background-origin: padding-box, padding-box, border-box;
    background-clip: padding-box, padding-box, border-box;
}

.form-group select option {
    padding: 12px 20px;
    font-size: 16px;
    color: #1F2937 !important;
    background-color: #FFFFFF;
    font-weight: 500;
}

.form-group select option:checked,
.form-group select option:focus {
    background-color: #F3F4F6 !important;
    color: #1F2937 !important;
}

/* Ensure selected value is visible */
.form-group select option[selected] {
    color: #1F2937 !important;
    background-color: #FFFFFF !important;
}

/* Fix for WebKit browsers */
.form-group select::-webkit-select-value {
    color: #1F2937 !important;
}

.calculation-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-xl);
}

.calc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.calc-value {
    font-size: var(--font-size-4xl);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.calc-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-top: var(--spacing-xs);
}

.calc-label.actual-amount {
    color: #0066CC;
}

.calc-label.vat-amount {
    color: #10B981;
}

.calc-label.total-amount {
    color: #0066CC;
}

.calc-operator {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    justify-self: center;
}

.vat-info-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: var(--spacing-xxl) 0;
    margin-top: var(--spacing-xl);
}

.vat-info-card {
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
    padding: var(--spacing-xl) 0;
}

.vat-info-card h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #0E1B56;
    margin-bottom: var(--spacing-md);
}

.vat-info-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.vat-info-card p:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group label {
    font-size: 25px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select {
    width: 100%;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: all var(--transition-base);
    background-color: #FFFFFF;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.optional-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    cursor: pointer;
    user-select: none;
}

.optional-toggle input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.optional-toggle label {
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}

.optional-inputs {
    display: none;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

.optional-inputs.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

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

/* Exempt vs Zero-Rated Section */
.vat-exemptions-detail-section {
    background-color: #0E1B56;
    padding: var(--spacing-xxl) 0;
}

.vat-exemptions-detail-section .section-title {
    margin-bottom: var(--spacing-sm);
}

.vat-exemptions-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    color: #ffffff;
    font-size: var(--font-size-lg);
}

.vat-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.vat-comparison-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.vat-comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.vat-comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.vat-comparison-card h3 {
    font-size: var(--font-size-2xl);
    color: #1a202c;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.vat-comparison-row {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px dashed var(--border-color);
}

.vat-comparison-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vat-comparison-label {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.vat-comparison-value {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    font-weight: 600;
}

.vat-comparison-value.highlight-yes {
    color: var(--success-color);
}

.vat-comparison-value.highlight-no {
    color: var(--error-color);
}

.vat-comparison-examples {
    margin-top: var(--spacing-lg);
    background: #F8FAFC;
    padding: var(--spacing-md);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .vat-comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.vat-rate-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.vat-rate-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--font-size-sm);
}

.vat-rate-btn:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.vat-rate-btn.active {
    background: var(--gradient-button);
    color: #FFFFFF;
    border-color: transparent;
}

.results-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-light);
}

.results-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.result-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.result-item-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.result-item-value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.result-item-value.total {
    font-size: var(--font-size-2xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-section {
    background: var(--bg-secondary);
    padding: var(--spacing-xxl) 0;
}

.how-to-calculate-section {
    background: #0E1B56;
    padding: var(--spacing-xxl) 0;
}

.how-to-calculate-section .section-title {
    color: #FFFFFF;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #FFFFFF;
    background-clip: unset;
}

.how-to-calculate-section .step-card {
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.how-to-calculate-section .step-card h3 {
    color: #0E1B56;
}

.how-to-calculate-section .step-card p {
    color: var(--text-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-card);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    color: #667eea;
    transition: all var(--transition-base);
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    transform: scale(1.1);
}

.how-to-calculate-section .step-icon {
    background: #0E1B56;
    color: #FFFFFF;
}

.how-to-calculate-section .step-card:hover .step-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
}

.vat-formula-section {
    background: #0E1B56;
    padding: var(--spacing-xxl) 0;
}

.vat-formula-section .section-title {
    color: #FFFFFF;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #FFFFFF;
    background-clip: unset;
}

.vat-formula-section .calculator-card {
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vat-formula-section .calculator-card p {
    color: var(--text-secondary);
}

.vat-formula-section .calculator-card p[style*="font-weight: 600"] {
    color: var(--text-primary);
}

.formula-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.formula-card {
    height: 100%;
}

.vat-types-section {
    background: #FFFFFF;
    padding: var(--spacing-xxl) 0;
}

.vat-types-section .section-title {
    color: #0E1B56;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #0E1B56;
    background-clip: unset;
}

.vat-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.vat-type-card {
    background: #F6F9FD;
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all var(--transition-base);
}

.vat-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 126, 234, 0.3);
}

.vat-type-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #0E1B56;
    margin-bottom: var(--spacing-md);
}

.vat-type-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.vat-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vat-type-card ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.vat-type-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0E1B56;
    font-weight: 700;
    font-size: 1.2em;
}

.vat-type-card ul li:last-child {
    margin-bottom: 0;
}

.vat-type-card ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.step-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: var(--font-size-sm);
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-card);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.info-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: var(--spacing-md);
    position: relative;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.faq-section {
    background-color: #FFFFFF;
    padding: var(--spacing-xxl) 0;
}

.faq-section .section-title {
    color: #0E1B56;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #0E1B56;
    background-clip: unset;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
}

.faq-item {
    background: transparent;
    padding: var(--spacing-md) 0;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: none;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.faq-question span:first-child {
    flex: 1;
}

.faq-answer {
    color: var(--text-primary);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    font-size: var(--font-size-base);
    font-weight: 400;
    margin-top: 0;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: var(--spacing-md);
}

.faq-toggle {
    color: var(--text-primary);
    transition: transform 0.3s ease;
    margin-left: var(--spacing-md);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 8px;
}

.faq-toggle svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    transform: translateY(-2px);
}

.scroll-to-top:hover .scroll-to-top-inner {
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.scroll-to-top-inner {
    width: 40px;
    height: 40px;
    background: #4285f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top svg {
    width: 16px;
    height: 16px;
}

/* Free Trial Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-base);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #0E1B56;
    margin-bottom: var(--spacing-lg);
    margin-top: 0;
}

.trial-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.trial-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.trial-form label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.trial-form input,
.trial-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: all var(--transition-base);
    box-sizing: border-box;
}

.trial-form input:focus,
.trial-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.trial-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    margin-top: var(--spacing-sm);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .calculator-container {
        padding: 0 var(--spacing-md);
    }

    .vat-hero-title {
        font-size: var(--font-size-3xl);
    }

    .vat-hero-subtitle {
        font-size: var(--font-size-base);
    }

    .main-calculator-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

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

    .formula-cards-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .calculator-container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .vat-calculator-hero {
        padding: calc(var(--spacing-xl) + 60px) 0 var(--spacing-xl) 0;
        padding-bottom: calc(var(--spacing-xl) + 91px);
        min-height: auto;
    }

    .calculator-section {
        margin-top: -150px;
        padding-top: 0;
    }

    .vat-hero-title {
        font-size: var(--font-size-2xl);
        line-height: 1.3;
        margin-bottom: var(--spacing-sm);
    }

    .vat-hero-subtitle {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    .vat-hero-content {
        padding-bottom: 80px;
    }

    .main-calculator-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .form-group label {
        font-size: 20px;
    }

    .form-group input,
    .form-group select {
        height: 50px;
        padding: 14px 16px;
        font-size: 15px;
    }

    .calculation-display {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }

    .calc-item {
        align-items: center;
    }

    .calc-operator {
        transform: rotate(90deg);
        padding: var(--spacing-xs) 0;
        justify-self: center;
        font-size: var(--font-size-2xl);
    }

    .calc-value {
        font-size: var(--font-size-2xl);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        width: 100%;
    }

    .calc-label {
        font-size: var(--font-size-xs);
    }

    .calculator-card {
        padding: var(--spacing-md);
        border-radius: 16px;
    }

    .vat-info-card {
        padding: var(--spacing-md) 0;
        margin-top: var(--spacing-lg);
    }

    .vat-info-card h2 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-sm);
    }

    .vat-info-card p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
        margin-bottom: var(--spacing-sm);
    }

    .section-title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .step-card {
        padding: var(--spacing-md);
    }

    .step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-sm);
    }

    .step-card h3 {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xs);
    }

    .step-card p {
        font-size: var(--font-size-xs);
    }

    .vat-types-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .vat-type-card {
        padding: var(--spacing-md);
    }

    .vat-type-card h3 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-sm);
    }

    .vat-type-card ul li {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    .formula-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .formula-card {
        padding: var(--spacing-md);
    }

    .formula-card h3 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-sm);
    }

    .faq-section {
        padding: var(--spacing-lg) 0;
    }

    .faq-item {
        padding: var(--spacing-md) 0;
    }

    .faq-question {
        font-size: var(--font-size-base);
        padding: 0;
    }

    .faq-answer {
        font-size: var(--font-size-sm);
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }

    .footer-links a {
        font-size: var(--font-size-xs);
    }

    .footer-separator {
        margin: 0 4px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .logo-image {
        height: 42px;
    }

    .nav-wrapper {
        padding: 6px 0;
        min-height: 54px;
    }

    .how-to-calculate-section {
        padding: var(--spacing-lg) 0;
    }

    .vat-formula-section {
        padding: var(--spacing-lg) 0;
    }

    .vat-types-section {
        padding: var(--spacing-lg) 0;
    }

    .faq-section {
        padding: var(--spacing-lg) 0;
    }

    .footer {
        padding: var(--spacing-md) 0;
    }

    /* Touch target optimization */
    a,
    button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Prevent horizontal scroll */
    img,
    svg {
        max-width: 100%;
        height: auto;
    }
}

/* Small Mobile Responsive Styles */
@media (max-width: 480px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .nav-wrapper {
        padding: 4px 0;
        min-height: 50px;
    }

    .logo-image {
        height: 38px;
    }

    .container {
        padding: 0 var(--spacing-xs);
    }

    .calculator-container {
        padding: 0 var(--spacing-xs);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .vat-calculator-hero {
        padding: calc(var(--spacing-lg) + 60px) 0 var(--spacing-lg) 0;
        padding-bottom: calc(var(--spacing-lg) + 58px);
    }

    .calculator-section {
        margin-top: -120px;
    }

    .vat-hero-title {
        font-size: var(--font-size-xl);
        line-height: 1.2;
    }

    .vat-hero-subtitle {
        font-size: var(--font-size-xs);
    }

    .form-group label {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select {
        height: 48px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .calculation-display {
        gap: var(--spacing-xs);
    }

    .calc-value {
        font-size: var(--font-size-xl);
    }

    .calc-operator {
        font-size: var(--font-size-xl);
    }

    .calculator-card {
        padding: var(--spacing-sm);
        border-radius: 12px;
    }

    .section-title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-sm);
        line-height: 1.3;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .step-card {
        padding: var(--spacing-sm);
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-card h3 {
        font-size: var(--font-size-sm);
    }

    .step-card p {
        font-size: 11px;
    }

    .vat-types-grid {
        gap: var(--spacing-sm);
    }

    .vat-type-card {
        padding: var(--spacing-sm);
    }

    .vat-type-card h3 {
        font-size: var(--font-size-base);
    }

    .vat-type-card ul li {
        font-size: 12px;
        margin-bottom: var(--spacing-xs);
    }

    .formula-cards-grid {
        gap: var(--spacing-sm);
    }

    .formula-card {
        padding: var(--spacing-sm);
    }

    .formula-card h3 {
        font-size: var(--font-size-base);
    }

    .faq-question {
        font-size: var(--font-size-sm);
    }

    .faq-answer {
        font-size: 12px;
    }

    .footer-links {
        gap: 2px;
        padding: var(--spacing-sm) 0;
    }

    .footer-links a {
        font-size: 10px;
    }

    .footer-separator {
        margin: 0 2px;
        font-size: 10px;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top-inner {
        width: 28px;
        height: 28px;
    }

    .scroll-to-top svg {
        width: 12px;
        height: 12px;
    }

    .vat-info-card h2 {
        font-size: var(--font-size-lg);
    }

    .vat-info-card p {
        font-size: 12px;
    }

    .modal-content {
        width: 95%;
        padding: var(--spacing-md);
        max-height: 85vh;
    }

    .modal-content h2 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
        padding-right: 30px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .trial-form input,
    .trial-form textarea {
        padding: 10px 14px;
        font-size: var(--font-size-sm);
    }

    .btn-submit {
        padding: 12px 24px;
        font-size: var(--font-size-sm);
    }

    .nav-text {
        display: none;
    }

    .btn-free-trial {
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .nav-right {
        gap: var(--spacing-xs);
    }
}


/* Reset Button Styles */
.btn-reset {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 6px 12px;
    width: auto;
    height: auto;
    border-radius: 20px;
    /* Pill shape */
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* Space between icon and text */
    font-size: 15px;
    /* Slightly smaller text */
    font-weight: 600;
}

.btn-reset:hover {
    background: #FFEBEE;
    /* Light red background */
    color: #EF4444;
    /* Red icon/text */
    transform: none;
    /* No rotation for text button */
}

.btn-reset:active {
    background: #FEE2E2;
    transform: scale(0.95);
}

/* VAT Toggle Switch Styles */
.vat-toggle-container {
    display: inline-flex;
    background-color: #F3F4F6;
    border-radius: 20px;
    padding: 2px;
    position: relative;
    border: 1px solid var(--border-color);
}

.vat-toggle-container input[type="radio"] {
    display: none;
}

/* Redoing Toggle Styles for robustness */
.vat-toggle-container {
    display: inline-flex;
    background-color: #F3F4F6;
    border-radius: 20px;
    padding: 3px;
    position: relative;
    border: 1px solid #E5E7EB;
}

.vat-toggle-container input {
    display: none;
}

.vat-toggle-container label {
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 2;
    margin: 0;
    transition: all 0.3s ease;
    border-radius: 16px;
    line-height: normal;
}

.vat-toggle-container input:checked+label {
    background-color: #FFFFFF;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-slider {
    display: none;
    /* Hide the old slider element to prevent overlap */
}

/* Logic to hide/show slider is replaced by active state on label directly which is cleaner to implement without fixed widths */

/* Split Rates Container */
#split-rates-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.split-select {
    width: 50% !important;
    /* Force equal width */
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
        url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #6b21a8 100%) !important;
    background-position: 0 0, right 12px center, 0 0 !important;
    padding-right: 32px !important;
    /* Smaller padding for icon */
}

/* VAT Calculator Specific Styles */
.vat-toggle-container label {
    min-width: 100px;
}

/* Copy Icon Styles */
.calc-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Slightly tighter gap */
    width: 100%;
    position: relative;
    /* For tooltip or absolute positioning if needed */
}

.btn-copy {
    background: rgba(102, 126, 234, 0.1);
    /* Subtle default background */
    border: 1px solid rgba(102, 126, 234, 0.2);
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
    border-radius: 8px;
    /* Softer square/rounded look */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

.btn-copy:hover {
    color: #FFFFFF;
    background: var(--gradient-primary);
    /* Use theme gradient */
    border-color: transparent;
    opacity: 1;
    transform: translateY(-2px);
    /* Subtle lift */
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    /* Theme colored shadow */
}

.btn-copy:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-copy svg {
    width: 18px;
    /* Slightly smaller for elegance */
    height: 18px;
    stroke-width: 2;
    /* Ensure visibility */
}