/* --- Variables & Setup --- */
:root {
    --bg-color: #0a0a0c;
    --bg-secondary: #131318;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-neon: #00f0ff;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-neon));
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

h1, h2, h3, h4, h5, .logo-text, .nav-links a {
    font-family: 'Outfit', sans-serif;
}

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

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Typography --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo-img {
    height: 35px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.nav-links a.btn-primary {
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
.w-full { width: 100%; }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.5; /* Opacity to blend */
    animation: slowPan 30s ease-in-out infinite alternate;
}

@keyframes slowPan {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    100% { transform: scale(1.15) translate(-3%, -2%) rotate(1deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,12,0.8) 0%, rgba(10,10,12,1) 100%);
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}
.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.15);
    top: 20%;
    left: -100px;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 240, 255, 0.1);
    bottom: 0;
    right: -150px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero .description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* --- Grids & Cards --- */
section {
    padding: 6rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.layout-3 { grid-template-columns: repeat(3, 1fr); }
.layout-2 { grid-template-columns: repeat(2, 1fr); }

.card, .feature-box, .info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover, .feature-box:hover, .info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--accent-purple);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-img {
    width: 100%;
    aspect-ratio: 150 / 100;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}

.card h5 {
    font-size: 1rem;
    color: var(--accent-neon);
    margin-bottom: 1rem;
}

.card p, .feature-box p, .info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* --- Pricing Cards (Hosting) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

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

.pricing-card.highlight {
    background: #10b981; /* Green color from image */
    border: 1px solid #10b981;
    color: #fff;
    transform: scale(1.05);
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 45px;
}
.pricing-card.highlight .desc {
    color: #e5e7eb;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.pricing-card.highlight .price span {
    color: #e5e7eb;
}

.pricing-card ul {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.pricing-card.highlight ul li {
    color: #fff;
}

.pricing-card ul li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.pricing-card.highlight ul li::before {
    color: #10b981;
    background: #fff;
}

.pricing-card .btn-pricing {
    background: rgba(255,255,255,0.05);
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.pricing-card .btn-pricing:hover {
    background: rgba(255,255,255,0.1);
}
.pricing-card.highlight .btn-pricing {
    background: #fff;
    color: #10b981;
    border: none;
}

/* --- Domains Section --- */
.domain-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 3rem;
    gap: 1rem;
}
.domain-search input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1rem;
}
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.domain-item {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}
.domain-item .ext {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.domain-item .price {
    font-size: 1.1rem;
    color: var(--accent-neon);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.domain-item .desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Accordion --- */
.accordion {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.accordion-item {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
}
.accordion-header .icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.accordion-header.active .icon {
    transform: rotate(45deg);
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}
.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Mini Dark Cards --- */
.mini-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mini-card .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.mini-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.mini-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Banner Section --- */
.banner-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(16,185,129,0.05) 0%, rgba(0,0,0,0) 100%);
    border-top: 1px solid rgba(16,185,129,0.1);
    border-bottom: 1px solid rgba(16,185,129,0.1);
}
.banner-section .btn-primary {
    background: #10b981;
    color: #fff;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.banner-section .btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}
.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}
.rounded-img {
    border-radius: 16px;
    width: 100%;
    border: 1px solid var(--glass-border);
}
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* --- Split Sections --- */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.split-content, .split-visual {
    flex: 1;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}
.check-list li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.server-rack {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

.server-light {
    height: 10px;
    background: var(--accent-neon);
    border-radius: 5px;
    width: 100%;
    opacity: 0.8;
}

.server-light.blinking {
    animation: blink 1.5s infinite alternate;
}

@keyframes blink {
    0% { opacity: 0.3; }
    100% { opacity: 1; box-shadow: 0 0 10px var(--accent-neon); }
}

/* --- Contact Section Details --- */
.contact-details-container {
    padding-right: 2rem;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #10b981;
    flex-shrink: 0;
}
.method-text {
    display: flex;
    flex-direction: column;
}
.method-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.method-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* --- Contact Form --- */
.form-wrapper {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.contact-form select option {
    color: #000;
    background: #fff;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.text-left { text-align: left; }

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-top .brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-top .links {
    display: flex;
    gap: 1.5rem;
}
.footer-top .links a {
    color: var(--text-secondary);
    transition: 0.3s;
}
.footer-top .links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --- Readdy Agent Widget --- */
.ai-agent-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
}

.agent-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-purple);
}

.agent-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.agent-pulse {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.agent-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ai-agent-widget:hover .agent-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-10px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
    }
    .title {
        font-size: 3rem;
    }
    .layout-3, .layout-2 {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}
