/* Ultra Marketing Solution - Main Stylesheet */
/* Optimized for performance and modern browsers */

:root {
    --primary-orange: #FF8C42;
    --primary-teal: #06BCDB;
    --primary-blue: #0B7A9F;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--gray-900);
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid #E5E7EB;
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

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

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.25s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,87,115,0.9), rgba(6,188,219,0.85));
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat i {
    font-size: 2rem;
    color: #FFD166;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255,140,66,0.1), rgba(6,188,219,0.1));
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Services */
.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.25s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.75rem;
    text-transform: uppercase;
}

.service-content {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,140,66,0.1), rgba(6,188,219,0.1));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--primary-teal);
    margin-top: 4px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.services-cta {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: 1.5rem;
    color: var(--white);
}

.services-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Technology */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.tech-section {
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tech-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.tech-icon i {
    font-size: 2rem;
    color: var(--white);
}

.tech-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-teal);
}

.tech-list strong {
    display: block;
    color: var(--gray-900);
}

.tech-list span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Case Studies */
.case-studies {
    background: var(--gray-50);
}

.case-study-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.case-study-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255,140,66,0.1), rgba(6,188,219,0.1));
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.5rem;
    text-transform: uppercase;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
}

.case-stat {
    text-align: center;
}

.case-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: var(--white);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.75rem;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin: 2rem 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-features li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pricing-features i {
    color: var(--primary-teal);
    margin-top: 4px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: #9CA3AF;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 35px;
}

.footer-logo span {
    font-weight: 700;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #374151;
    color: #9CA3AF;
    border-radius: 0.5rem;
    transition: all 0.25s;
}

.social-links a:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.footer-contact li {
    display: flex;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    font-size: 0.875rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        transition: left 0.25s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }
}