/* ===================================
   CSS Variables & Root Styles
   =================================== */
:root {
    /* Colors - Professional tech palette with bold accents */
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #4D94FF;
    --secondary: #00D9B1;
    --accent: #FF3D71;
    --dark: #0A1628;
    --dark-light: #1A2840;
    --text: #E8EBF0;
    --text-muted: #8B92A8;
    --bg: #0D1B2E;
    --bg-light: #152138;
    --border: #1E3354;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-padding) 0;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 27, 46, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 217, 177, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 32px;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card[data-delay="0"] { animation-delay: 0.1s; }
.service-card[data-delay="1"] { animation-delay: 0.2s; }
.service-card[data-delay="2"] { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
    font-size: 14px;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-choose {
    background: var(--bg);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.why-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
}

.why-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.why-item h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-item p {
    color: var(--text-muted);
}

.why-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.stat-card:nth-child(3) {
    grid-column: 1 / -1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 217, 177, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 64px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

/* ===================================
   Page Header (About/Contact)
   =================================== */
.page-header {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-muted);
}

/* ===================================
   About Page Styles
   =================================== */
.about-content {
    padding-top: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.experience-badge {
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 64px 48px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.badge-text {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
}

.expertise-section {
    background: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.expertise-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition);
}

.expertise-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.expertise-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.expertise-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.values-section {
    background: var(--bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-item h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-muted);
}

.process-section {
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 24px;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-section {
    padding-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-item p {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-availability {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.contact-availability h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-availability p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-form-wrapper {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 217, 177, 0.1);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.form-message.error {
    display: block;
    background: rgba(255, 61, 113, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.faq-section {
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.faq-item {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .why-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-visual {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .services-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .why-visual {
        grid-template-columns: 1fr;
    }
    
    .stat-card:nth-child(3) {
        grid-column: 1;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
        --container-padding: 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .service-card,
    .expertise-card {
        padding: 32px 24px;
    }
}