/* -------------------------------------------------------------------------- */
/*                            FUTURISTIC FLUID THEME                          */
/* -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --primary: #E86F37;
    /* Energetic Orange */
    --secondary: #3E8FB0;
    /* Electric Blue */
    --dark: #0B1120;
    /* Deepest Navy/Black */
    --surface: #151E32;
    /* Lighter Navy for cards */
    --surface-highlight: #1E293B;

    /* Text */
    --text-main: #F8FAFC;
    /* White/Off-white */
    --text-muted: #94A3B8;
    /* Muted Blue-Grey */

    /* Effects */
    --glass: rgba(21, 30, 50, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-primary: 0 0 20px rgba(232, 111, 55, 0.4);
    --glow-secondary: 0 0 20px rgba(62, 143, 176, 0.4);

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-width: 1200px;

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(62, 143, 176, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(232, 111, 55, 0.08) 0%, transparent 25%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* -------------------------------------------------------------------------- */
/*                             FLOATING NAVBAR                                */
/* -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
    transition: var(--transition);
}

/* The actual navbar box floating in the middle */
.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    background: rgba(11, 17, 32, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Header Scrolled State - Make it wider or sticky top if needed, 
   but keeping it floating looks more unique */
header.scrolled {
    top: 10px;
}

header.scrolled .navbar {
    background: rgba(11, 17, 32, 0.9);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover,
.nav-links a.active-page {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    min-width: 200px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #FF8A50);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(232, 111, 55, 0.6);
}

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

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: var(--glow-secondary);
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/*                                UNIQUE HERO                                 */
/* -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: visible;
}

/* Background grid line effect */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    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: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(62, 143, 176, 0.1);
    border: 1px solid rgba(62, 143, 176, 0.2);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 3D Visual Element */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-stack {
    position: relative;
    width: 300px;
    height: 400px;
    transform-style: preserve-3d;
    animation: rotateStack 10s infinite linear;
}

/* Simple CSS geometric shapes representation if no image */
.server-icon {
    font-size: 15rem;
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 50px rgba(62, 143, 176, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

/* -------------------------------------------------------------------------- */
/*                              BENTO GRID SERVICES                           */
/* -------------------------------------------------------------------------- */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Spanning cards for Bento Grid look */
.feature-card:nth-child(1) {
    grid-column: span 2;
}

.feature-card:nth-child(4) {
    grid-column: span 2;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    opacity: 0.5;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 40px -10px rgba(62, 143, 176, 0.2);
}

.icon-box {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--surface-highlight);
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover .icon-box {
    color: var(--secondary);
    transform: scale(1.1) rotate(-10deg);
    opacity: 0.2;
}

.feature-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.feature-card p {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------------------- */
/*                               GLOWING STATS                                */
/* -------------------------------------------------------------------------- */
.tech-performance {
    background: var(--surface-highlight);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    text-align: center;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(232, 111, 55, 0.5));
}

.trust-item span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


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

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(62, 143, 176, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(232, 111, 55, 0.1), rgba(21, 30, 50, 0.5));
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--text-main);
}

.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li i {
    color: var(--secondary);
}

/* Switch */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    color: var(--text-muted);
}

.switch {
    position: relative;
    width: 50px;
    height: 26px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-highlight);
    border-radius: 34px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: .4s;
    border-radius: 50%;
}

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

input:checked+.slider:before {
    transform: translateX(24px);
}

/* -------------------------------------------------------------------------- */
/*                                   FOOTER                                   */
/* -------------------------------------------------------------------------- */
footer {
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 20px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

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

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surface-highlight);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-main);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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


/* -------------------------------------------------------------------------- */
/*                                RESPONSIVE                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .feature-card:nth-child(n) {
        grid-column: span 1;
        min-height: 250px;
    }

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

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        justify-content: space-between;
        padding: 15px 20px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .nav-links,
    .nav-actions {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        border-radius: var(--radius-md);
        border: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        align-items: flex-start;
    }

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

    .nav-links {
        width: 95%;
        left: 2.5%;
    }

    .nav-actions {
        top: auto;
        bottom: 20px;
    }

    /* Adjust if needed, or keep distinct */

    /* Mobile Dropdowns */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 10px 0 10px 20px;
        /* Indent */
        min-width: 100%;
        display: none;
        /* Hidden by default on mobile, toggle via JS or hover styling */
    }

    /* Show dropdowns on hover/focus (or always for simplicity if no JS toggle) */
    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:hover {
        padding-left: 10px;
        background: transparent;
    }

    .hamburger {
        display: block;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero {
        padding-top: 120px;
    }
}

/* Generic Helpers needed for some HTML classes */
.company-intro,
.client-area-section,
.cta-section {
    padding: 80px 0;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.tech-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.tech-list li i {
    color: var(--secondary);
}

.cta-section {
    text-align: center;
    background: radial-gradient(circle at center, #1E293B 0%, #0B1120 100%);
    border-radius: var(--radius-lg);
    margin: 0 20px;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 5;
}

.section-bg {
    background-color: transparent;
}

/* Domain Search Dark Mode */
.domain-search {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
}

#domain-form {
    display: flex;
    width: 100%;
}

#domain-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 15px;
    outline: none;
}

.domain-search select {
    background: var(--surface-highlight);
    color: white;
    border: none;
    padding: 0 15px;
    outline: none;
}