:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #8b5cf6;
    --accent-secondary: #3b82f6;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.2);
    --warning: #f59e0b;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-in-out;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* --- BACKGROUND EFFECTS --- */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite alternate;
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite alternate-reverse;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(5%, 10%);
    }
}

/* --- LAYOUT & CONTAINERS --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.glass-panel-sm {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 5rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: #c4b5fd;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a5b4fc, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 600px;
}

.meta-info {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 0.5rem 1rem;
    transition: var(--transition-fast);
    background: transparent;
    border: none;
    border-radius: 0;
}

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

.meta-item i {
    font-size: 1.25rem;
    color: var(--accent-secondary);
    background: rgba(59, 130, 246, 0.05);
    padding: 0.75rem;
    border-radius: 10px;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.meta-value {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--accent-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- PLANS COMPARISON --- */
.comparison-section {
    margin: 2rem 0 4rem;
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 3.5rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Plan card states handled below */

.best-value-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--success);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    box-shadow: 0 4px 15px var(--success-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.plan-card.active .plan-name {
    color: var(--text-primary);
}

.plan-price-container {
    margin-bottom: 2rem;
}

.plan-price {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.plan-price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-yearly {
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
}

.btn-view {
    margin-top: auto;
    width: 100%;
    padding: 0.8rem 0;
    border-radius: 0;
    border: none;
    background: transparent !important;
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.plan-card.active {
    background: transparent;
    transform: scale(1.15);
    z-index: 10;
}

.plan-card.active:hover {
    transform: scale(1.17) translateY(-5px);
}

.plan-card.active .plan-name {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.plan-card:hover .btn-view,
.plan-card.active:hover .btn-view {
    color: var(--accent-secondary);
}

.plan-card.active .btn-view {
    color: white;
}

/* --- DYNAMIC FEATURES SECTION --- */
.features-section {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    display: none;
}

.features-section.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.features-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 3rem 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.features-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.features-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.feature-subtitle {
    color: var(--text-secondary);
}

.value-insight {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
}

.insight-low {
    background: rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.3);
}

.insight-best {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.insight-e3 {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.4);
}

.insight-e5 {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border-color: rgba(139, 92, 246, 0.4);
}

/* NEW Analysis Box */
.analysis-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--accent-secondary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.analysis-box strong {
    color: #fff;
    font-weight: 700;
}

/* Category Grid & Cards */
.feature-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.category-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.category-title i {
    color: var(--accent-secondary);
}

.app-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    list-style: none;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.6rem 0;
    background: transparent;
    border-radius: 0;
    transition: var(--transition-fast);
}

.app-item:hover {
    background: transparent;
    transform: translateX(5px);
}

.app-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    font-size: 1.2rem;
    padding: 0;
}

.app-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.app-item-name {
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- DASHBOARD GRID --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* --- MODERN CALCULATOR --- */
.calculator-section {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
}

.calculator-section .section-title {
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.calc-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .calc-body {
        grid-template-columns: 1fr;
    }
}

.calc-controls-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modern-input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Radio Cards for Plans */
.plan-selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .plan-selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan-radio-card input {
    display: none;
}

.plan-radio-card span {
    display: block;
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    position: relative;
}

.plan-radio-card span:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.plan-radio-card input:checked+span {
    background: transparent;
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.plan-radio-card input:checked+span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--accent-secondary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* Range Slider */
.range-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.range-container input[type="range"] {
    flex-grow: 1;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-secondary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.range-container input[type="number"] {
    width: 80px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: white;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: right;
    outline: none;
}

.range-container input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-secondary);
}

/* Toggles & Add-ons */
.modern-toggles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modern-toggles.single-toggle {
    grid-template-columns: 1fr;
}

@media (max-width: 600px) {
    .modern-toggles {
        grid-template-columns: 1fr;
    }
}

.addon-grid-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toggle-box label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.segmented-control {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid var(--border-color);
}

.segmented-control input {
    display: none;
}

.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    margin: 0 !important;
    text-transform: none;
    letter-spacing: normal;
    transition: var(--transition-fast);
}

.segmented-control input:checked+label {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.addon-toggle input {
    display: none;
}

.addon-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.addon-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.addon-icon {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.addon-action {
    position: relative;
}

.addon-action input {
    display: none;
}

.btn-addon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    background: transparent !important;
    border: none !important;
    color: #22c55e !important;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: normal;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-addon:hover {
    opacity: 1;
    transform: none;
}

.addon-action input:checked + .btn-addon {
    background: transparent !important;
    border: none !important;
    color: #22c55e;
}

.addon-action input:checked + .btn-addon .fa-plus {
    display: none;
}

.addon-action input:checked + .btn-addon::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.addon-action input:checked + .btn-addon .btn-text {
    display: none;
}

.addon-action input:checked + .btn-addon::before {
    content: 'Added';
}

.addon-info {
    display: flex;
    flex-direction: column;
}

.addon-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.addon-price {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.addon-prefix {
    color: var(--text-primary);
    font-weight: 500;
}

.addon-amount {
    color: #10b981;
    font-weight: 800;
    font-size: 1.05rem;
}

.addon-suffix {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Results Panel */
.calc-results-modern {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.calc-results-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.results-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.results-header h3 i {
    color: var(--accent-secondary);
}

.user-badge {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.result-row:last-child {
    margin-bottom: 0;
}

.result-label-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.result-label-wrapper i {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.billing-tag {
    text-transform: none;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.7;
}

.result-value-sm {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.result-value-md {
    font-size: 2rem;
    font-weight: 700;
    color: #f97316;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.result-value-lg {
    font-size: 3.5rem;
    font-weight: 800;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.currency-symbol {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.8;
}

.result-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}



/* --- OFFICIAL LINKS SECTION --- */
.official-links {
    margin-bottom: 5rem;
}

.comparison-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .comparison-buttons {
        grid-template-columns: 1fr;
    }
}

.link-group {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.1s ease-out;
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    will-change: transform;
}

.link-group > * {
    transform: translateZ(30px);
}

.link-group p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    transform: translateZ(20px);
    margin-bottom: 0.5rem;
}

.btn-official {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    width: auto;
    justify-content: flex-start;
    transform: translateZ(40px);
    box-shadow: none;
}

.btn-official i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--accent-secondary);
}

.btn-official:hover {
    background: transparent;
    color: var(--accent-secondary);
    transform: translateZ(60px) scale(1.05);
}

.btn-official:hover i {
    transform: translate(3px, -3px);
    color: var(--accent-secondary);
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* --- ANIMATION UTILS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* --- PRICE ADJUSTMENT SECTION --- */
.price-adjustment {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.adjustment-item label {
    display: block;
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem !important;
}

.adjustment-item input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 0.4rem 0 !important;
    outline: none !important;
    transition: var(--transition-fast) !important;
    border-radius: 0 !important;
}

.adjustment-item input:focus {
    border-color: var(--accent-secondary) !important;
    color: var(--accent-secondary) !important;
}

.adjustment-item input::-webkit-outer-spin-button,
.adjustment-item input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.adjustment-item input[type=number] {
    -moz-appearance: textfield;
}

/* --- GLOBAL RESPONSIVENESS REFINEMENTS --- */

/* Large Screens & TVs (2K, 4K) */
@media (min-width: 1800px) {
    :root {
        font-size: 18px;
    }
    .container {
        max-width: 1600px;
    }
}

@media (min-width: 2500px) {
    :root {
        font-size: 20px;
    }
    .container {
        max-width: 2200px;
    }
}

/* Laptops & Standard Desktops (1440px - 1024px) */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablets & Small Laptops (1024px - 768px) */
@media (max-width: 1024px) {
    .plan-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .calc-body {
        gap: 2rem;
    }
}

/* Mobile Devices (Phones - 768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .plan-card {
        padding: 2.5rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .plan-price {
        font-size: 3.5rem;
    }

    .calc-results-modern {
        padding: 1.5rem;
    }

    .result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .result-value-sm, .result-value-lg {
        font-size: 2rem;
    }

    .price-adjustment .adjustment-grid {
        grid-template-columns: 1fr;
    }
}

/* Specific for small phones (iPhone SE, etc.) */
@media (max-width: 380px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .plan-price {
        font-size: 3rem;
    }

    .btn-view {
        font-size: 0.8rem;
    }
}

/* Fix for horizontal scroll on some browsers */
body {
    width: 100%;
    overflow-x: hidden;
}

/* --- CLEAN INPUTS: REMOVE NUMBER SPINNERS --- */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
