:root {
    /* Deep blue palette matching the banner logo */
    --color-bg-primary: #0a0e1f;
    --color-bg-secondary: #141729;
    --color-bg-card: #1a1e35;
    --color-bg-elevated: #212642;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #c9d1d9;
    --color-text-muted: #8b949e;
    
    --color-accent-red: #ff6b6b;
    --color-accent-orange: #ffa94d;
    --color-accent-blue: #4dabf7;
    --color-accent-cyan: #22d3ee;
    --color-accent-purple: #a78bfa;
    
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle animated grid */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 107, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 107, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Gradient accent bar at top */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-accent-red) 0%, 
        var(--color-accent-orange) 25%,
        var(--color-accent-cyan) 50%,
        var(--color-accent-blue) 75%,
        var(--color-accent-purple) 100%
    );
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* Navigation */
.nav {
    position: fixed;
    top: 3px;
    left: 0;
    right: 0;
    background: rgba(28, 33, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(28, 33, 40, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 107, 0.4));
    transition: all 0.3s ease;
}

.nav-logo:hover {
    filter: drop-shadow(0 4px 16px rgba(255, 107, 107, 0.6));
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-red), var(--color-accent-orange));
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.cta-link {
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-accent-orange));
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Colorful glowing orbs */
.hero-glow-1,
.hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
    animation: pulse 10s ease-in-out infinite;
    z-index: 0;
    mix-blend-mode: screen;
}

.hero-glow-1 {
    top: -250px;
    left: -250px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.4) 0%, rgba(255, 169, 77, 0.2) 40%, transparent 70%);
}

.hero-glow-2 {
    bottom: -250px;
    right: -250px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, rgba(77, 171, 247, 0.2) 40%, transparent 70%);
    animation-delay: 5s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.12; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.05); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 60px;
    animation: fadeInScale 1s ease forwards;
}

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

.main-logo {
    max-width: 1100px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(255, 107, 107, 0.3));
    transition: all 0.5s ease;
}

.main-logo:hover {
    filter: drop-shadow(0 12px 60px rgba(255, 107, 107, 0.5));
    transform: scale(1.02);
}

.hero-tagline {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 21px;
    color: var(--color-text-secondary);
    max-width: 850px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: fadeInUp 1s ease forwards 0.5s;
    opacity: 0;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease forwards 0.7s;
    opacity: 0;
}

/* Colorful gradient buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-accent-orange));
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: rgba(54, 62, 74, 0.6);
    color: var(--color-text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(54, 62, 74, 0.9);
    border-color: var(--color-accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.3);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Section styling */
.section-header {
    margin-bottom: 64px;
    text-align: left;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 169, 77, 0.15));
    border-radius: 24px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.section-header h2 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    font-size: 20px;
    color: var(--color-text-secondary);
    max-width: 850px;
    line-height: 1.8;
}

/* Services with color */
.services {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(54, 62, 74, 0.5), rgba(45, 54, 66, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Colorful gradient borders on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-red), var(--color-accent-orange), var(--color-accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-blue), var(--color-accent-purple));
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--color-accent-purple), var(--color-accent-red), var(--color-accent-orange));
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--color-accent-orange), var(--color-accent-cyan), var(--color-accent-blue));
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 107, 107, 0.15);
    background: linear-gradient(135deg, rgba(54, 62, 74, 0.8), rgba(45, 54, 66, 0.8));
}

.service-number {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--color-accent-red);
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 6px 16px;
    background: rgba(255, 107, 107, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.service-card:hover .service-number {
    transform: translateX(10px);
    background: rgba(255, 107, 107, 0.25);
    border-color: var(--color-accent-orange);
}

.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--color-text-primary);
}

.service-card p {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    font-size: 16px;
    color: var(--color-text-muted);
    padding-left: 28px;
    position: relative;
    transition: all 0.3s ease;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent-cyan);
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.service-list li:hover {
    color: var(--color-text-secondary);
    padding-left: 32px;
}

.service-list li:hover::before {
    color: var(--color-accent-red);
}

/* Expertise with colored accents */
.expertise {
    padding: 120px 0;
    background: var(--color-bg-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 48px;
}

.expertise-column {
    background: rgba(54, 62, 74, 0.4);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.expertise-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent-red), var(--color-accent-cyan));
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.expertise-column:nth-child(2)::before {
    background: linear-gradient(180deg, var(--color-accent-cyan), var(--color-accent-blue));
}

.expertise-column:nth-child(3)::before {
    background: linear-gradient(180deg, var(--color-accent-orange), var(--color-accent-purple));
}

.expertise-column:hover::before {
    opacity: 1;
}

.expertise-column:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    transform: translateY(-6px);
}

.expertise-column h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.expertise-column ul {
    list-style: none;
}

.expertise-column li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: default;
}

.expertise-column li:hover {
    color: var(--color-text-primary);
    padding-left: 16px;
    border-bottom-color: var(--color-accent-cyan);
}

.expertise-column li::before {
    content: '◆ ';
    color: var(--color-accent-cyan);
    margin-right: 12px;
    transition: all 0.3s ease;
}

.expertise-column li:hover::before {
    color: var(--color-accent-orange);
}

/* Contact */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.contact-info p {
    color: var(--color-text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-method {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 24px;
    background: rgba(54, 62, 74, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    border-color: var(--color-accent-cyan);
    transform: translateX(10px);
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.2);
}

.method-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(34, 211, 238, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.method-icon svg {
    color: var(--color-accent-cyan);
}

.method-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.method-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(54, 62, 74, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 44px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 26px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(28, 33, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
    background: rgba(28, 33, 40, 0.9);
}

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

/* Footer */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    margin-bottom: 44px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 2px 12px rgba(255, 107, 107, 0.4));
}

.footer-brand p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 480px;
    font-size: 17px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-primary);
    margin-bottom: 22px;
}

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

.footer-column li {
    margin-bottom: 16px;
}

.footer-column a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-column a:hover {
    color: var(--color-accent-cyan);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    
    .section-header h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 160px 0 100px;
    }
    
    .hero-tagline {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .services, .expertise, .contact {
        padding: 100px 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero::before,
    .hero::after {
        width: 140px;
        height: 140px;
    }
}