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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b35;
}

/* Burger Menu Button */
.burger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s;
}

.burger-menu-btn span {
    width: 100%;
    height: 3px;
    background: #ff6b35;
    border-radius: 3px;
    transition: all 0.3s;
    transform-origin: center;
}

.burger-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero-section {
    padding: 100px 40px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 56px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text h1 .highlight {
    color: #ff6b35;
}

.hero-text p {
    font-size: 20px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    background: #ff5722;
}

.cta-button.cta-outline {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    box-shadow: none;
}

.cta-button.cta-outline:hover,
.cta-button.cta-outline:focus-visible {
    background: #ff6b35;
    color: #fff;
}

.auth-card {
    margin-top: 40px;
    padding: 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #ffe1d4;
    max-width: 420px;
}

.auth-modal .auth-card {
    margin-top: 0;
}

.auth-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.auth-description {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-code-block {
    margin-top: 15px;
}

.auth-form-group label {
    font-size: 14px;
    color: #555;
}

.auth-form-group input {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.auth-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #ff6b35;
    color: white;
    font-weight: 600;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.auth-btn:disabled {
    background: #f5b49b;
    cursor: not-allowed;
    box-shadow: none;
}

.auth-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #ff5722;
}

.auth-btn-secondary {
    margin-top: 10px;
    background: #333;
    box-shadow: none;
}

.auth-status {
    min-height: 24px;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.auth-status.success {
    color: #2e7d32;
}

.auth-status.error {
    color: #c62828;
}

.auth-status.warning {
    color: #c77700;
}

.auth-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

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

.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.auth-modal-dialog {
    position: relative;
    width: min(500px, calc(100% - 32px));
    z-index: 1;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: rgba(0,0,0,0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.auth-modal-close:hover {
    background: rgba(0,0,0,0.1);
}

/* Orange Info Box */
.info-box {
    flex: 1;
    min-width: 400px;
    background: #ff6b35;
    border-radius: 25px;
    padding: 60px;
    color: white;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.25);
}

.info-box h2 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
}

.info-box p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.info-box .cta-button-white {
    background: white;
    color: #ff6b35;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-box .cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Section */
.services-section {
    padding: 100px 40px;
    background: #ffffff;
}

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

.section-title {
    text-align: center;
    font-size: 42px;
    color: #333;
    margin-bottom: 60px;
    font-weight: 700;
}

.section-title .highlight {
    color: #ff6b35;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tariff-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #f0f0f0;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
}

.tariff-name {
    font-size: 24px;
    color: #ff6b35;
    margin-bottom: 20px;
    font-weight: 600;
}

.tariff-price {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.tariff-speed {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.category-title {
    grid-column: 1 / -1;
    font-size: 32px;
    color: #333;
    margin: 40px 0 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6b35;
    font-weight: 600;
}

/* Payment Section */
.payment-section {
    padding: 100px 40px;
    background: #f9f9f9;
}

.payment-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: #666;
    font-size: 18px;
}

.payment-content p {
    margin-bottom: 25px;
}

/* Contact Form Section */
.contact-section {
    padding: 100px 40px;
    background: #ffffff;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid #f0f0f0;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #ff6b35;
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* News Section */
.news-section {
    padding: 100px 40px;
    background: #ffffff;
}

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

.news-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 2px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date::before {
    content: '📅';
}

.news-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.news-link {
    display: inline-block;
    margin-top: 15px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: #ff5722;
}

/* Notifications Area */
.notifications-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-left: 4px solid #ff6b35;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    pointer-events: all;
    cursor: pointer;
    position: relative;
    animation: slideIn 0.3s ease-out forwards;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #ff6b35;
}

.notification-body {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.notification-time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.notification-info {
    border-left-color: #2196F3;
}

.notification-success {
    border-left-color: #4CAF50;
}

.notification-warning {
    border-left-color: #FF9800;
}

.notification-error {
    border-left-color: #f44336;
}

/* Notification History Panel (Chat-like) */
.notification-history-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    max-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    z-index: 10001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    border: 2px solid #f0f0f0;
}

.notification-history-panel.open {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

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

.history-header {
    background: #ff6b35;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.history-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.history-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.history-close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.history-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
    max-height: 480px;
}

.history-body::-webkit-scrollbar {
    width: 6px;
}

.history-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.history-body::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 3px;
}

.history-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border-left: 4px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    animation: fadeIn 0.3s ease-in;
}

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

.history-item-info {
    border-left-color: #2196F3;
}

.history-item-success {
    border-left-color: #4CAF50;
}

.history-item-warning {
    border-left-color: #FF9800;
}

.history-item-error {
    border-left-color: #f44336;
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.history-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.history-item-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    margin-left: 10px;
}

.history-item-body {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.history-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.history-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.history-empty-text {
    font-size: 16px;
}

.history-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #ff6b35;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.history-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    background: #ff5722;
}

.history-toggle-btn.has-notifications::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #f44336;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.history-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

.history-actions {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.history-action-btn {
    flex: 1;
    padding: 10px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.history-action-btn:hover {
    background: #ff6b35;
    color: white;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 50px 40px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ff6b35;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #ff6b35;
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (min-width: 769px) {
    .burger-menu-btn {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .nav-links {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        overflow: visible !important;
    }

    .nav-links li {
        border-bottom: none !important;
    }

    .nav-links a {
        padding: 0 !important;
        width: auto !important;
    }

    .nav-links a:hover {
        background: transparent !important;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text {
        min-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .info-box {
        min-width: 100%;
        padding: 40px;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .burger-menu-btn {
        display: flex !important;
    }

    .nav-links {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 80px 0 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        display: block;
        padding: 18px 30px;
        font-size: 16px;
        width: 100%;
        transition: background 0.3s, color 0.3s;
    }

    .nav-links a:hover {
        background: #fff5f0;
        color: #ff6b35;
    }

    header {
        padding: 15px 20px;
    }

    .logo-container {
        gap: 10px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-section,
    .payment-section,
    .contact-section {
        padding: 60px 20px;
    }

    .contact-form {
        padding: 30px;
    }

    .notifications-container {
        right: 10px;
        top: 90px;
        max-width: calc(100% - 20px);
    }

    .notification {
        padding: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .notification-history-panel {
        width: calc(100% - 20px);
        max-width: 100%;
        right: 10px;
        bottom: 90px;
        max-height: calc(100vh - 120px);
    }

    .history-toggle-btn {
        bottom: 20px;
