/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    --primary-color: #6366f1;       /* Sleek Indigo */
    --primary-hover: #4f46e5;
    --secondary-color: #0d9488;     /* Teal Accent */
    --secondary-hover: #0f766e;
    
    --bg-dark: #0f172a;             /* Slate 900 for Dark backgrounds */
    --bg-card: #1e293b;             /* Slate 800 */
    --bg-light: #f8fafc;            /* Slate 50 for Light backgrounds */
    
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --text-dark-muted: #64748b;
    
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 400;
    color: var(--text-muted);
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

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

.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(30px);
    z-index: 1;
}

.stats-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 24px;
    position: absolute;
    box-shadow: var(--box-shadow);
    z-index: 2;
    transition: var(--transition-normal);
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.stats-card-1 {
    top: 40px;
    left: 20px;
}

.stats-card-2 {
    bottom: 60px;
    right: 20px;
}

.stats-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stats-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: #0b0f19;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    transition: var(--transition-normal);
    box-shadow: var(--box-shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
}

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

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 50%, rgba(13, 148, 136, 0.15) 0%, rgba(15, 23, 42, 0) 60%);
}

.about-container {
    max-width: 800px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about-features {
    list-style: none;
}

.about-features li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
}

.about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: #0b0f19;
}

.contact-box {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-info {
    padding: 60px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-details p {
    margin-bottom: 12px;
    font-size: 15px;
    color: #ffffff;
}

.contact-form-container {
    padding: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background-color: #0f172a;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background-color: var(--bg-dark);
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

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

.divider {
    color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   MODAL DIALOG (PRIVACY POLICY)
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    max-width: 680px;
    margin: 80px auto;
    padding: 40px;
    position: relative;
    box-shadow: var(--box-shadow);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: #ffffff;
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-right: 30px;
    color: #ffffff;
}

.modal-body-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px 0;
    color: #ffffff;
}

.modal-body-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 280px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 40px;
    }
    
    .contact-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .nav-links,
    .nav-cta {
        display: none; /* Hide desktop nav elements */
    }
    
    .hero-title {
        font-size: 38px;
        letter-spacing: -1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
        padding: 24px;
    }
    
    .modal-close {
        top: 16px;
        right: 16px;
    }
}
