:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #6366f1;
    --accent: #10b981;
    --dark-bg: #020617;
    --dark-card: #0f172a;
    --light-bg: #f8fafc;
    --text-bright: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(15, 23, 42, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-bright);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Containers */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent),
                radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.15), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 0 50px var(--primary-glow);
}

/* Buttons */
.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    border: 1px solid var(--border);
    color: white;
    margin-left: 1.5rem;
}

/* Section Styling */
section {
    padding: 10rem 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Feature Cards */
.card {
    background: var(--dark-card);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services Section */
.services-section {
    background: #010409;
}

/* Portfolio Section */
.case-study {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    height: 500px;
}

.case-study img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.case-study-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.faq-item {
    margin-bottom: 2.5rem;
}

.faq-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Testimonials */
.testimonial {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial p {
    font-size: 2rem;
    font-style: italic;
    color: var(--text-bright);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 40px;
    padding: 6rem;
    text-align: center;
    border: 1px solid var(--border);
}

.newsletter input {
    padding: 1.5rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.05);
    color: white;
    width: 100%;
    max-width: 400px;
    margin-right: 1rem;
}

/* Footer */
footer {
    padding: 8rem 0 3rem;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 5rem;
    margin-bottom: 6rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p { margin-inline: auto; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
