/* Custom Premium Style Sheet for School ERP Pricing Page */

:root {
    --bg-dark: #0a0f1d;
    --card-bg: rgba(16, 22, 42, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    --color-primary: #6c5ce7;
    --color-primary-glow: rgba(108, 92, 231, 0.15);
    --color-secondary: #00d2d3;
    --color-accent: #ff9f43;
    --color-success: #10b981;
    --color-danger: #ff7675;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    --font-family: 'Plus Jakarta Sans', sans-serif;
    
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --max-width: 1200px;
}

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

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

/* Background Glow Effects */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}

.bg-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    bottom: -150px;
    right: -100px;
}

.bg-glow-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Utility Layout Styles */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism Panel Base */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

.glass:hover {
    border-color: var(--border-hover);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #4834d4);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header & Nav */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-main);
}

.logo-icon {
    color: var(--color-secondary);
    font-size: 26px;
}

.highlight {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: var(--text-main);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 14px;
}

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

/* Hero Section */
.hero-section {
    padding: 80px 0 40px;
    text-align: center;
}

.badge {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: #a29bfe;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
}

.badge-accent {
    background: rgba(255, 159, 67, 0.1);
    border: 1px solid rgba(255, 159, 67, 0.3);
    color: var(--color-accent);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
}

/* Interactive Calculator Panel */
.calculator-section {
    padding: 40px 0;
}

.calc-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.billing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 40px;
    margin-bottom: 36px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-speed);
}

.toggle-label.active {
    color: var(--text-main);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0 16px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-main);
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
    background-color: var(--text-inverse);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider-container {
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
}

.slider-title {
    color: var(--text-muted);
    font-size: 15px;
}

.slider-value {
    color: var(--color-secondary);
    font-size: 20px;
    font-weight: 700;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-bottom: 8px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 210, 211, 0.5);
    transition: transform var(--transition-speed);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-minmax {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Pricing Cards */
.pricing-section {
    padding: 60px 0;
}

.pricing-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px 0 rgba(108, 92, 231, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--text-inverse);
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.plan-icon-basic {
    background: rgba(0, 210, 211, 0.1);
    color: var(--color-secondary);
}

.plan-icon-pro {
    background: rgba(108, 92, 231, 0.1);
    color: var(--color-primary);
}

.plan-icon-ent {
    background: rgba(255, 159, 67, 0.1);
    color: var(--color-accent);
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    min-height: 44px;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 4px;
}

.currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-right: 2px;
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.price-period {
    font-size: 15px;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-calc-note {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    font-weight: 500;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-size: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list li.disabled {
    color: rgba(148, 163, 184, 0.4);
}

.check-icon {
    color: var(--color-success);
}

.cross-icon {
    color: rgba(255, 118, 117, 0.4);
}

/* Master Resell License Callout Card */
.master-license-container {
    margin-top: 56px;
}

.master-card {
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-color: rgba(255, 159, 67, 0.2);
    box-shadow: 0 8px 32px 0 rgba(255, 159, 67, 0.08);
}

.master-info {
    max-width: 680px;
}

.master-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 8px;
}

.master-info p {
    color: var(--text-muted);
    font-size: 15px;
}

.master-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.price-value-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.master-pricing .price-value {
    font-size: 38px;
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .master-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .master-pricing {
        align-items: flex-start;
        width: 100%;
    }
    .price-value-container {
        align-items: flex-start;
    }
}

/* Onboarding Add-ons Grid */
.addons-section {
    padding: 60px 0;
}

.addons-grid {
    margin-top: 32px;
}

.addon-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.addon-card.selected {
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(0, 210, 211, 0.2);
}

.addon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.addon-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.addon-header h4 {
    font-size: 16px;
    font-weight: 700;
    flex-grow: 1;
}

.addon-price {
    font-weight: 700;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 13px;
}

.addon-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

.addon-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.addon-card.selected .addon-checkbox-label {
    color: var(--color-secondary);
}

.addon-checkbox {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-speed);
}

.addon-checkbox:checked + .checkbox-custom {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.addon-checkbox:checked + .checkbox-custom:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--text-inverse);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.addon-total-bar {
    margin-top: 32px;
    padding: 24px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-color: var(--color-secondary);
}

.total-info h5 {
    font-size: 18px;
    font-weight: 700;
}

.total-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.total-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-secondary);
}

@media (max-width: 576px) {
    .addon-total-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Feature Comparison Table */
.comparison-section {
    padding: 60px 0;
}

.table-wrapper {
    overflow-x: auto;
    padding: 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.comparison-table th {
    font-weight: 700;
    color: var(--text-main);
    font-size: 16px;
}

.comparison-table th:not(:first-child), .comparison-table td:not(:first-child) {
    text-align: center;
    width: 22%;
}

.table-cat-row td {
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(108, 92, 231, 0.05);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

.check-yes {
    color: var(--color-success);
    font-size: 16px;
}

.check-no {
    color: rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

.comparison-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Lead Capture Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.05));
}

.contact-container {
    max-width: 1000px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item h5 {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
}

.contact-form-card {
    padding: 36px;
}

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

.form-group.grid {
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 14px;
    outline: none;
    transition: all var(--transition-speed);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.2);
}

.form-group select option {
    background: #0f172a;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    text-align: center;
    background: #060912;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.text-danger {
    color: var(--color-danger);
}
