/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #0A2E5C;
    --electric-cyan: #00D4FF;
    --vibrant-orange: #FF6B35;
    --tech-silver: #E8E9EB;
    --charcoal: #2C3E50;
    --slate-gray: #7F8C8D;
    --white: #FFFFFF;
    --black: #1A1A1A;
    
    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.5;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* Mobile-first typography */
h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

a {
    color: var(--electric-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile-first: increase padding on larger screens */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Navigation - Mobile First */
.navbar {
    background: var(--primary-blue);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.2;
}

.logo .tagline {
    color: var(--electric-cyan);
    font-size: 0.7rem;
    font-style: italic;
    display: block;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-sm);
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--electric-cyan);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Tablet and Desktop Navigation */
@media (min-width: 768px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .tagline {
        font-size: 0.875rem;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section - Mobile First */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--charcoal) 100%);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--tech-silver);
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tablet and Desktop Hero */
@media (min-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--electric-cyan);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Section Styles - Mobile First */
section {
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: var(--spacing-xl) 0;
    }
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--slate-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.65rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Services Section - Mobile First */
.services {
    background: var(--tech-silver);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

/* Trusted By Section */
.trusted-by {
    background: var(--white);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-bottom: 1px solid var(--tech-silver);
}

.trusted-title {
    color: var(--charcoal);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--tech-silver);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-badge p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--tech-silver);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-gray);
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .trusted-title {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
    
    .badge-icon {
        font-size: 2.5rem;
    }
}

.service-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.service-card p {
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    margin-top: 0.75rem;
}

.service-features li {
    padding: 0.375rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--electric-cyan);
    font-weight: bold;
}

/* About Section - Mobile First */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
        gap: var(--spacing-lg);
    }
}

.about-text .lead {
    font-size: 1.05rem;
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.5;
}

.about-text p {
    font-size: 0.9rem;
}

.features-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-icon {
    color: var(--electric-cyan);
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.875rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.stat-card {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-card h3 {
    color: var(--electric-cyan);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-card p {
    margin: 0;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .stat-card h3 {
        font-size: 2.5rem;
    }
    
    .stat-card p {
        font-size: 0.85rem;
    }
}

/* Team Section */
.team {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.team-member {
    background: var(--tech-silver);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    margin-bottom: 1rem;
}

.member-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: var(--shadow-md);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-cyan));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.member-info h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--electric-cyan);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem !important;
}

.member-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate-gray);
    margin-bottom: 1rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: var(--white);
    color: var(--charcoal);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .member-info h3 {
        font-size: 1.35rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
}

/* Process Section - Mobile First */
.process {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--tech-silver) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 46, 92, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.process-step {
    position: relative;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(1).animate { transition-delay: 0.1s; }
.process-step:nth-child(2).animate { transition-delay: 0.2s; }
.process-step:nth-child(3).animate { transition-delay: 0.3s; }
.process-step:nth-child(4).animate { transition-delay: 0.4s; }
.process-step:nth-child(5).animate { transition-delay: 0.5s; }
.process-step:nth-child(6).animate { transition-delay: 0.6s; }
.process-step:nth-child(7).animate { transition-delay: 0.7s; }

.step-connector {
    display: none;
}

.step-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid var(--electric-cyan);
    transition: all 0.3s ease;
    position: relative;
}

.step-content:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-5px);
    border-top-color: var(--primary-blue);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 45px;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-blue);
    font-size: 1.125rem;
    margin: 0;
    font-weight: 600;
}

.step-content p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--charcoal);
    line-height: 1.5;
}

/* Tablet and Desktop Process */
@media (min-width: 768px) {
    .step-content {
        padding: 1.75rem;
    }
    
    .step-number {
        font-size: 2rem;
        min-width: 50px;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .step-content {
        padding: 2rem;
    }
}

/* Technologies Section - Mobile First */
.tech-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (min-width: 1200px) {
    .tech-categories {
        grid-template-columns: repeat(5, 1fr);
    }
}

.tech-category {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tech-category h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--tech-silver);
    color: var(--charcoal);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--tech-silver);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: var(--vibrant-orange);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-cyan));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin: 0 0 0.25rem 0;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--slate-gray);
    margin: 0;
}

@media (min-width: 640px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Portfolio Section */
.portfolio {
    background: var(--tech-silver);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-icon {
    font-size: 4rem;
    filter: brightness(1.5);
}

.portfolio-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-content h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--electric-cyan);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.portfolio-content > p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate-gray);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    background: var(--tech-silver);
    color: var(--charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tech-silver);
    margin-top: auto;
}

.result-item {
    text-align: center;
}

.result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-gray);
    margin-top: 0.25rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
}

.portfolio-cta p {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .portfolio-image {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-content h3 {
        font-size: 1.35rem;
    }
    
    .portfolio-content > p {
        font-size: 0.95rem;
    }
}

.portfolio-message {
    text-align: center;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.portfolio-message p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .portfolio-message {
        padding: var(--spacing-lg);
    }
    
    .portfolio-message p {
        font-size: 1.05rem;
    }
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--tech-silver) 100%);
    padding: var(--spacing-xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--electric-cyan);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--electric-cyan), var(--primary-blue));
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.pricing-price {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--tech-silver);
    border-bottom: 1px solid var(--tech-silver);
    margin-bottom: 1.5rem;
}

.price-from {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-gray);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.price-period {
    display: block;
    font-size: 0.85rem;
    color: var(--slate-gray);
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-check {
    color: var(--electric-cyan);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem;
}

.pricing-note {
    text-align: center;
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.pricing-note p {
    font-size: 0.95rem;
    color: var(--charcoal);
    margin: 0;
}

.pricing-note a {
    color: var(--electric-cyan);
    font-weight: 600;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-header h3 {
        font-size: 1.75rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .pricing-features li {
        font-size: 0.95rem;
    }
}

/* FAQ Section */
.faq {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--tech-silver);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--electric-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--slate-gray);
    line-height: 1.7;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .faq-question {
        font-size: 1.05rem;
        padding: 1.5rem 0;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Contact Section - Mobile First */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-lg);
    }
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.875rem;
}

.contact-form {
    background: var(--tech-silver);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .contact-form {
        padding: var(--spacing-md);
    }
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid var(--tech-silver);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-cyan);
}

.form-group textarea {
    resize: vertical;
}

/* Lead Magnet Section */
.lead-magnet {
    background: var(--white);
    padding: var(--spacing-xl) 0;
    border-top: 3px solid var(--electric-cyan);
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.lead-badge {
    display: inline-block;
    background: var(--vibrant-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lead-magnet-text h2 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.lead-magnet-text > p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
}

.lead-benefits {
    list-style: none;
}

.lead-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.benefit-icon {
    color: var(--electric-cyan);
    font-weight: 700;
    font-size: 1.1rem;
}

.lead-magnet-form {
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-cyan));
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.lead-magnet-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    text-align: center;
}

.lead-magnet-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-magnet-form input {
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.lead-magnet-form button {
    width: 100%;
    padding: 1rem;
    background: var(--vibrant-orange);
    border: none;
    cursor: pointer;
}

.lead-magnet-form button:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 1rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .lead-magnet-text h2 {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .lead-magnet-content {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .lead-magnet-text h2 {
        font-size: 2.25rem;
    }
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-cyan) 100%);
    padding: var(--spacing-lg) 0;
    color: var(--white);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.newsletter-text p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto var(--spacing-sm);
    flex-direction: column;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 0.875rem 2rem;
    white-space: nowrap;
}

.newsletter-privacy {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-text h3 {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .newsletter-text h3 {
        font-size: 2rem;
    }
    
    .newsletter-text p {
        font-size: 1rem;
    }
}

/* Footer - Mobile First */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0 1rem;
}

@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-md);
    }
}

.footer-section h3,
.footer-section h4 {
    color: var(--electric-cyan);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.footer-section h4 {
    font-size: 1rem;
}

.footer-section p {
    font-size: 0.85rem;
}

.footer-tagline {
    color: var(--electric-cyan);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    font-size: 0.875rem;
}

.footer-section a {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--electric-cyan);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.social-link:hover {
    background: var(--electric-cyan);
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.8rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--primary-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top span {
    font-weight: bold;
    line-height: 1;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.25rem;
    }
}

/* WhatsApp Chat Button */
.whatsapp-button {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

/* Adjust Tawk.to widget position to sit above WhatsApp */
#tawkchat-minified-wrapper {
    bottom: 200px !important;
    right: 20px !important;
}

#tawkchat-container iframe {
    z-index: 998 !important;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.whatsapp-button:active {
    transform: scale(1.05);
}

.whatsapp-button svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Pulse animation for WhatsApp button */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-button {
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    animation: none;
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 5rem;
        right: 1.5rem;
    }
    
    .whatsapp-button svg {
        width: 26px;
        height: 26px;
    }
}

/* Remove old media queries and replace with mobile-first approach */
@media (min-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Lazy Loading - Initial State */
section {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

section.loaded {
    opacity: 1;
}

/* Images lazy loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[data-src].loaded {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.tech-category {
    animation: fadeIn 0.6s ease-out;
}
