/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --purple: #a855f7;
    --pink: #ec4899;
    --background: #0a0a0a;
    --foreground: #fafafa;
    --card: #1a1a1a;
    --border: #2a2a2a;
    --muted: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Background Grid */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
    z-index: -1;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0 8rem;
    overflow: hidden;
}

.gradient-blur {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

/* Section */
.section {
    padding: 5rem 0;
    position: relative;
}

.tech-section {
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
}

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

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    background-color: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

.icon-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    color: var(--primary);
}

.icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
    color: var(--purple);
}

.icon-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
    color: var(--pink);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tech-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    cursor: default;
}

.tech-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

.tech-item[data-color="cyan"] {
    color: #06b6d4;
}

.tech-item[data-color="gray"] {
    color: #9ca3af;
}

.tech-item[data-color="blue"] {
    color: #3b82f6;
}

.tech-item[data-color="green"] {
    color: #10b981;
}

.tech-item[data-color="purple"] {
    background: linear-gradient(to right, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-block;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* CTA Card */
.cta-card {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 3rem;
    }
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.cta-email {
    padding-top: 1rem;
}

.cta-email a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.3s;
}

.cta-email a:hover {
    color: rgba(99, 102, 241, 0.8);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col h3 svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

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

.footer-col ul li {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col ul li:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom .small {
    font-size: 0.75rem;
}

