/* ============================================
   A.C. SOLUTIONS - GLOBAL STYLES
   ============================================ */

:root {
    --primary-dark: #070B12;
    --secondary-dark: #0B1F3A;
    --accent-blue: #2563EB;
    --accent-cyan: #22D3EE;
    --white: #FFFFFF;
    --gray: #CBD5E1;
    --dark-gray: #1E293B;
    --light-gray: #F1F5F9;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-cyan);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background: rgba(7, 11, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    margin-left: 3rem;
}

.nav-links a {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
}

.btn-quote {
    background: var(--accent-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-quote:hover {
    background: var(--accent-cyan);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.1), transparent),
                radial-gradient(ellipse at bottom left, rgba(34, 211, 238, 0.1), transparent);
    z-index: 0;
}

.animated-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05), transparent);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (for secondary pages)
   ============================================ */

.page-hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--accent-cyan);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.5), rgba(37, 99, 235, 0.05));
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

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

.trust-card h3 {
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.services-overview {
    background: transparent;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(34, 211, 238, 0.05));
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.service-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-block;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-choose {
    background: linear-gradient(135deg, var(--secondary-dark), transparent);
}

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

.why-item {
    display: flex;
    gap: 1.5rem;
}

.why-number {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 700;
    min-width: 30px;
}

.why-item h3 {
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
    background: rgba(11, 31, 58, 0.3);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--accent-blue);
    text-align: center;
    display: none;
}

/* ============================================
   INDUSTRIES
   ============================================ */

.industries {
    background: transparent;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.industry-tag {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    color: var(--accent-cyan);
    font-weight: 600;
    transition: var(--transition);
}

.industry-tag:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

/* ============================================
   TECHNOLOGIES
   ============================================ */

.technologies {
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.5), transparent);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
}

.tech-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
}

.tech-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tags span {
    background: rgba(37, 99, 235, 0.2);
    color: var(--accent-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.final-cta {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: var(--white);
    color: var(--accent-blue);
}

.final-cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--secondary-dark);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ============================================
   FORMS
   ============================================ */

.contact-form,
.application-form,
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
}

.form-group input::placeholder {
    color: rgba(203, 213, 225, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ============================================
   TABLES
   ============================================ */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: rgba(37, 99, 235, 0.1);
}

.comparison-table th {
    color: var(--white);
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar-content {
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin-left: 0;
        gap: 0;
        background: rgba(7, 11, 18, 0.98);
        border-bottom: 1px solid rgba(34, 211, 238, 0.15);
        padding: 0.5rem 0;
    }

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

    .nav-links a {
        display: block;
        padding: 0.9rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }
    
    .services-grid,
    .trust-grid,
    .why-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: -0.5rem 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-links a {
        white-space: nowrap;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-gradient {
    background: linear-gradient(135deg, var(--white), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
