/* ===========================
   Global Styles & Variables
   =========================== */

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-darker: #003D99;
    --background: #0F1419;
    --card-bg: #1A2332;
    --border-color: #2A3A5A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0C0E0;
    --text-muted: #4A5A7A;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Header & Navigation
   =========================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

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

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

.nav {
    display: flex;
    gap: 32px;
    flex: 1;
    margin-left: 64px;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

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

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background) 0%, #1A2F5A 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.02) 39px, rgba(255, 255, 255, 0.02) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, 0.02) 39px, rgba(255, 255, 255, 0.02) 40px);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text h1 .highlight {
    color: var(--primary-color);
}

.hero-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.8;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 48px;
}

.primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.primary-button:active {
    transform: translateY(0);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-family: 'Exo 2', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.house-3d {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 60px rgba(0, 102, 255, 0.2));
}

/* ===========================
   Services Section
   =========================== */

.services {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.services h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--background);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
    padding: 80px 0;
    background-color: var(--background);
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0.05) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 64px;
    max-width: 700px;
}

.cta-box h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: rgba(0, 102, 255, 0.1);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
}

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

.footer-section h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

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

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-visual {
        display: none;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cta-box {
        padding: 40px;
    }

    .cta-box h2 {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-content {
        gap: 12px;
    }

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

    .cta-button {
        padding: 8px 16px;
        font-size: 12px;
    }

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

    .hero-text > p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .primary-button {
        padding: 12px 24px;
        font-size: 14px;
        margin-bottom: 32px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .services h2 {
        font-size: 36px;
    }

    .services-grid {
        gap: 16px;
    }

    .service-card {
        padding: 16px;
    }

    .cta-box {
        padding: 24px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-box p {
        font-size: 16px;
    }
}
