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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-bg: #1a202c;
    --light-bg: #f7fafc;
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.cta-btn-nav {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s;
}

.cta-btn-nav:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--dark-bg);
    color: var(--white);
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

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

.hero-title {
    font-size: 6.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
    white-space: nowrap;
    margin-left: -7%;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.section-label {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card {
    background: linear-gradient(135deg, var(--purple-50) 0%, #e6f2ff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Testimonials / References */
.references {
    padding: 80px 0;
    background: var(--light-bg);
}

.references h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--dark-bg);
    font-weight: 900;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 0.25rem;
}

.author-company {
    font-size: 0.9rem;
    color: var(--text-light);
}

.coming-soon {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Case Studies */
.case-studies {
    padding: 80px 0;
    background: var(--white);
}

.case-studies h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 900;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.case-study-box {
    background: linear-gradient(135deg, var(--purple-50) 0%, #e6f2ff 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.case-study-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.case-study-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 800;
}

.case-study-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.view-case-study {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.case-study {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.case-study:hover {
    transform: translateY(-5px);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-study-header h3 {
    font-size: 1.4rem;
    color: var(--dark-bg);
}

.case-badge {
    background: var(--gradient);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.case-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact/Survey Section */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.survey-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.question {
    display: none;
}

.question.active {
    display: block;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: block;
    padding: 1.2rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.option:hover {
    border-color: var(--primary-color);
    background: rgba(255, 153, 0, 0.05);
}

.option input[type="radio"] {
    display: none;
}

.option input[type="radio"]:checked + span {
    font-weight: 600;
}

.option input[type="radio"]:checked ~ * {
    color: var(--primary-color);
}

.option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(255, 153, 0, 0.1);
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-inputs input {
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.form-inputs input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.survey-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #E0E0E0;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
}

.progress-indicator {
    margin-top: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s;
    width: 25%;
}

.progress-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Case Study Pages */
.case-study-hero {
    background: var(--dark-bg);
    color: var(--white);
    padding: 150px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.case-study-header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.case-study-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.case-study-content {
    padding: 80px 0;
    background: var(--white);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
}

.content-box h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.content-box p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .nav-menu {
        gap: 0.8rem;
        flex-wrap: wrap;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .case-study-hero h1 {
        font-size: 2.5rem;
    }

    .case-study-tagline {
        font-size: 1.1rem;
    }

    .content-box {
        padding: 2rem;
    }

    .survey-container {
        padding: 2rem 1.5rem;
    }

    .case-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 4rem;
        white-space: normal;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .hero-title {
        font-size: 5rem;
    }
}
