:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --primary-glow: rgba(0, 123, 255, 0.5);
    --bg-dark: #0f1014;
    --bg-card: rgba(30, 30, 35, 0.7);
    --bg-card-hover: rgba(40, 40, 45, 0.9);
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --accent-color: #00d2ff;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #007bff 0%, #00d2ff 100%);
    --text-hero: #ffffff;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-dark: #f4f7f6;
        --bg-card: #ffffff;
        --bg-card-hover: #ffffff;
        --text-light: #1a1a1a;
        --text-gray: #555555;
        --glass-border: 1px solid rgba(0, 0, 0, 0.1);
    }
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.theme-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s;
}

.theme-btn:hover {
    transform: rotate(15deg);
    color: var(--primary-color);
}
.navbar {
    background-color: rgba(15, 16, 20, 0.85);
    backdrop-filter: blur(10px);
    padding: 2px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: var(--glass-border);
}

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

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

.logo img {
    height: 60px;
}

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

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.btn-login {
    margin-left: 10px;
}

.btn-register {
    background: var(--gradient-main);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1593784991095-a20506948430?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 16, 20, 0.8) 0%, rgba(15, 16, 20, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 123, 255, 0.15);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-hero);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.btn-primary i {
    margin-left: 10px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: var(--glass-border);
    padding-top: 30px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-hero);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-card-hover);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s;
}

.feature-card:hover .icon-wrapper {
    background: var(--gradient-main);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #050505);
}



.pricing-configurator {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    border: var(--glass-border);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.config-section {
    margin-bottom: 40px;
}

.config-section h3 {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Duration Toggles */
.duration-toggles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.save-badge {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.toggle-btn.active .save-badge {
    color: rgba(255, 255, 255, 0.9);
}

/* Connection Selector */
.connection-selector {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 16px;
}

.connection-option {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.connection-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.connection-option.active {
    background: rgba(0, 123, 255, 0.15);
    border-color: var(--primary-color);
}

.conn-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.conn-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.connection-option.active .conn-num {
    color: var(--primary-color);
}

/* Result Card */
.pricing-result-card {
    background: linear-gradient(145deg, rgba(30, 30, 35, 0.9), rgba(20, 20, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
}

.result-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.result-header p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.price-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--primary-color);
}

#total-price {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-light);
}

.period {
    font-size: 1.2rem;
    color: var(--text-gray);
    align-self: flex-end;
    margin-bottom: 15px;
    margin-left: 5px;
}

.price-breakdown {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.result-features {
    margin-bottom: 35px;
    display: inline-block;
    text-align: left;
}

.result-features li {
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 1rem;
}

.result-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.btn-block {
    width: 100%;
    max-width: 400px;
    padding: 18px;
    font-size: 1.2rem;
}

.secure-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.secure-text i {
    color: #28a745;
    margin-right: 5px;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-gray);
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .connection-selector {
        flex-wrap: wrap;
    }
    
    .connection-option {
        flex-basis: calc(33.333% - 10px);
    }
    
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #1e1e23;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid #333;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    .btn-login, .btn-register {
        margin: 10px;
        display: inline-block;
    }
}

body.light-mode {
    --bg-dark: #f4f7f6;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --text-light: #1a1a1a;
    --text-gray: #555555;
    --glass-border: 1px solid rgba(0, 0, 0, 0.1);

    .pricing {
        background: linear-gradient(to bottom, var(--bg-dark), #e0e0e0);
    }
    .pricing-result-card {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .toggle-btn {
        background: #e9ecef;
        border-color: #dee2e6;
        color: var(--text-light);
    }
    .toggle-btn:hover {
        background: #dee2e6;
    }
    .connection-selector {
        background: rgba(0,0,0,0.05);
    }
    .connection-option:hover {
        background: rgba(0,0,0,0.05);
    }
    .navbar {
        background-color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .bar {
        background-color: var(--text-light);
    }
    footer {
        background-color: #f8f9fa;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    .footer-links h4 {
        color: var(--text-light);
    }
    .hero {
        background: var(--bg-dark);
    }
    .hero-overlay {
        display: none;
    }
    .hero-content h1 {
        color: var(--text-light);
    }
    .hero-content p {
        color: var(--text-gray);
    }
    .stat-number {
        color: var(--text-light);
    }
    .stat-label {
        color: var(--text-gray);
    }
    .btn-glass {
        color: var(--text-light);
        border-color: rgba(0,0,0,0.2);
        background: rgba(0,0,0,0.05);
    }
    .btn-glass:hover {
        background: rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    body.light-mode .nav-menu {
        background-color: #ffffff;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
}


