/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grid Background Pattern */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgb(229 231 235 / 0.3) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(229 231 235 / 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1BA2D6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: #158bb8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 162, 214, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #1BA2D6;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #1BA2D6;
}

.btn-secondary:hover {
    background-color: #1BA2D6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 162, 214, 0.2);
}

/* Service Cards */
.service-card {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover {
    border-color: #1BA2D6;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.service-number {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: #f3f4f6;
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(27, 162, 214, 0.15);
    transform: scale(1.1);
}

/* Step Cards (How It Works) */
.step-card {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #1BA2D6 0%, transparent 100%);
    transform: translateY(-50%);
}

.step-card:last-child::after {
    display: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1BA2D6, #06b6d4);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(27, 162, 214, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(27, 162, 214, 0.4);
}

@media (max-width: 768px) {
    .step-card::after {
        display: none;
    }
}

/* Case Study Cards */
.case-study-card {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1BA2D6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.case-study-card:hover {
    border-color: #1BA2D6;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.case-study-card:hover::before {
    transform: scaleX(1);
}

.case-tag {
    display: inline-block;
    background: linear-gradient(135deg, #1BA2D6, #06b6d4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Stat Boxes */
.stat-box {
    background: #f9fafb;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(27, 162, 214, 0.05);
    border-color: #1BA2D6;
    transform: translateY(-4px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: #1BA2D6;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Contact Form */
.contact-input {
    width: 100%;
    background: white/10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-input:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    background: white;
    color: #1BA2D6;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form Messages */
.success-message {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid #22c55e;
    color: white;
    padding: 1rem;
    border-radius: 12px;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }
    
    .service-number {
        font-size: 3rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
