@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Inter:wght@300;400;600;800&subset=cyrillic,cyrillic-ext&display=swap');

:root {
    /* Default Dark Theme */
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --primary-color: #00d4ff;
    /* Neon Blue */
    --secondary-color: #ffd700;
    /* Gold */
    --accent-color: #1a1a1a;
    --card-bg: #1a1a1a;
    --nav-bg: rgba(10, 10, 10, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: #000;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: background 0.3s;
}

header.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    /* Shrink on scroll */
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Changed from fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    padding: 80px 0;
    /* Added padding for safe spacing */
}

.hero-inner {
    min-height: 60vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_bg.svg');
    /* Fallback or generated SVG */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    transform: scale(1.1);
    /* For parallax */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #aaa;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

/* Floating Icons - Deprecated direct styling, moved to wrapper */
/* .floating-icon { ... } replaced by .floating-wrapper */

/* Old .icon-1, .icon-2, .icon-3 removed/replaced by specific wrapper positioning below */

/* USP Section */
.usp-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.usp-item {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    /* For scroll reveal */
    transform: translateY(30px);
}

.usp-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.usp-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.usp-item:hover .usp-icon {
    animation: rotate360 1s ease-in-out;
}

.usp-icon.visible {
    animation: rotate360 1s ease-in-out;
}

.usp-item h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Services Preview */
.services-preview {
    padding: 60px 0;
    background: var(--bg-color);
    /* Changed from hardcoded #0f0f0f */
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.section-title span {
    color: var(--secondary-color);
}

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

.service-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.service-card:hover .service-bg {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(0);
    transition: transform 0.3s;
}

.service-card p {
    font-size: 0.9rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.service-card:hover h3 {
    transform: translateY(-5px);
}

.service-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Contact CTA */
.contact-cta {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color), #000);
    position: relative;
    overflow: hidden;
}

.cta-box {
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
    /* Slight darken for contrast */
}

/* Footer */
footer {
    background: #000;
    padding: 50px 0 20px;
    color: #888;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
    background: var(--bg-color);
    /* Changed from #0f0f0f */
}

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

.pricing-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.pricing-card ul li::before {
    content: "✓";
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-color);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: #000;
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    text-align: left;
}

.why-us-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.why-us-item p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.step-item .step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    display: block;
}

.step-item h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

/* Hosting Pricing */
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.hosting-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.hosting-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.hosting-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.hosting-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.hosting-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.hosting-features li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.faq-item {
    background: var(--accent-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-pulse:hover {
    animation: pulse 1.5s infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Rotation keyframes removed */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease-out;
}

/* Floating Icon Wrapper Structure */
.floating-wrapper {
    position: absolute;
    width: 80px;
    /* Increased size */
    height: 80px;
    /* Increased size */
    opacity: 0.8;
    /* Increased opacity */
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    /* Prevent interference with clicks */
}

.floating-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Icon Positioning */
.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

/* Responsive Icons */
@media (max-width: 768px) {
    .floating-wrapper {
        width: 50px;
        height: 50px;
        opacity: 0.5;
    }

    .icon-1 {
        top: 10%;
        left: 5%;
    }

    .icon-2 {
        top: 40%;
        right: 5%;
    }

    .icon-3 {
        bottom: 10%;
        left: 10%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--text-color);
    }

    .usp-grid,
    .services-grid,
    .pricing-grid,
    .why-us-grid,
    .steps-grid,
    .hosting-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* Fix Overflow */
    .comparison-section {
        overflow-x: hidden;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    .comparison-table {
        min-width: 600px;
        /* Force scroll */
    }

    .hero h1 {
        font-size: 1.6rem;
        word-wrap: break-word;
        line-height: 1.3;
        /* Improved line height */
        margin-bottom: 25px;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 15px;
    }

    .hero {
        min-height: auto;
        padding: 180px 0 100px;
        /* More top padding for header */
    }

    /* Fix Floating Icons on Mobile */
    .floating-wrapper {
        width: 50px;
        height: 50px;
        opacity: 0.3;
    }

    .icon-1 {
        top: 15%;
        left: 15%;
    }

    .icon-2 {
        top: auto;
        bottom: 20%;
        right: 15%;
    }

    .icon-3 {
        bottom: 10%;
        left: 15%;
    }
}

/* Contact Page Revamp */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon-wrapper {
    background: var(--primary-color);
    transform: scale(1.1);
}

.contact-icon {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    fill: #000;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Menu Toggle Default (Desktop) */
.menu-toggle {
    display: none;
}

/* Mobile Menu Toggle Override */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

.reveal.bounce-on-scroll {
    animation: bounce 1s ease;
}

/* Hero Text Updates */
.hero-keywords {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.keyword {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.4rem !important;
    /* Override existing hero p */
    color: #e0e0e0 !important;
    margin-bottom: 40px !important;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-offer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    display: inline-block;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s, border-color 0.3s;
}

.hero-offer:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.offer-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #000;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.offer-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.offer-details .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.offer-details .guarantee {
    font-size: 0.9rem;
    color: #aaa;
    font-style: italic;
}

/* Animation Delays */
.delay-1 {
    animation: fadeInUp 0.8s forwards 0.2s;
}

.delay-2 {
    animation: fadeInUp 0.8s forwards 0.4s;
}

.delay-3 {
    animation: fadeInUp 0.8s forwards 0.6s;
}

.delay-4 {
    animation: fadeInUp 0.8s forwards 0.9s;
}

.delay-5 {
    animation: fadeInUp 0.8s forwards 1.2s;
}

/* Responsive Adjustments for Hero Text */
@media (max-width: 768px) {
    .hero-keywords {
        gap: 10px;
    }

    .keyword {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .offer-details .price {
        font-size: 1.5rem;
    }
}