:root {
    --primary-color: #2563eb; /* More vibrant blue */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --secondary-color: #0f172a; /* Dark slate */
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.85);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    position: relative;
}

nav a:hover {
    color: var(--white);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
nav ul li {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--secondary-color);
    min-width: 220px;
    padding: 10px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0;
}

nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    font-size: 0.9rem;
}

.dropdown a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

.dropdown a::after {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.5) 100%), url('../images/tild6539-6233-4934-b230-663464343236__homebg1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 0;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections General */
section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 300;
}

/* About */
.about {
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.about-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: rotateY(180deg);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.about-card h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
    color: var(--secondary-color);
}

.about-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Clients */
.clients {
    background-color: var(--light-bg);
}

/* Abstract background shape for clients */
.clients::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.client-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.client-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.client-card:hover .client-image {
    transform: scale(1.05);
}

.client-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.client-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
}

.client-content p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.client-content .btn {
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.9rem;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.tag-coming-soon {
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* CTA Section */
.cta-section {
    background: var(--secondary-color);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 16px 40px;
}

.cta-section .btn:hover {
    background: #f8fafc;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Features / Services */
.features {
    background-color: var(--white);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 140px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--gray);
}

.feature-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.feature-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    pointer-events: none;
}

/* Setup Process */
.setup {
    background-color: var(--light-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-item h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

/* Pricing */
.pricing {
    background-color: var(--white);
}

.pricing-list {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-item {
    border: 1px solid var(--border-color);
    padding: 40px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all 0.3s ease;
}

.pricing-item:hover {
    border-color: #3b82f6;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.pricing-title {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.pricing-cost {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.1rem;
    background: #eff6ff;
    padding: 6px 16px;
    border-radius: 20px;
}

/* Contact Form */
.contact {
    background-color: var(--light-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: var(--white);
}

textarea.form-control {
    height: 140px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 60px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }

    .feature-item, .feature-item:nth-child(even) {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none; /* Mobile menu would need JS */
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .pricing-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
