:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --secondary: #c9a227;
    --accent: #38b2ac;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #718096;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Custom Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hamburger to X animation */
.navbar-toggler[aria-expanded="true"] .hamburger {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8eaf0 0%, #d4d8e3 50%, #c5c9d6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 178, 172, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.4);
    color: #8a7320;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 580px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-weight: 500;
}

.hero-feature-item i {
    color: var(--accent);
    font-size: 1.25rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    margin-right: -12px;
    transition: transform 0.3s ease;
}

.trust-avatar:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.trust-text {
    color: var(--dark);
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.trust-rating i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.trust-rating span {
    font-weight: 700;
    margin-left: 0.25rem;
}

.trust-text p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.btn-primary-custom {
    background: var(--secondary);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover {
    background: #ddb52f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
    color: var(--dark);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-custom:hover {
    background: var(--primary);
    color: white;
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    z-index: 2;
}

.ai-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-card.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.ai-card-header i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.ai-card-header span {
    font-weight: 700;
    color: var(--dark);
    flex: 1;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.ai-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-query {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ai-query i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.ai-query p {
    background: #f7f9fc;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    margin: 0;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.ai-response {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ai-response > i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

.ai-typing-indicator {
    display: flex;
    gap: 0.4rem;
    margin: 0 0 0.5rem 0;
}

.ai-typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ai-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.ai-result {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    color: var(--dark);
}

.ai-case {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.case-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-title {
    font-weight: 700;
    color: var(--dark);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.case-excerpt {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

/* Stats Pills */
.stats-pill {
    position: absolute;
    background: white;
    padding: 0.875rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-pill i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stats-pill strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 800;
}

.stats-pill span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    white-space: nowrap;
}

.pill-1 {
    top: 10%;
    right: -10%;
    animation: float-delay-1 7s ease-in-out infinite;
}

.pill-2 {
    bottom: 35%;
    right: -15%;
    animation: float-delay-2 8s ease-in-out infinite;
}

.pill-3 {
    bottom: 5%;
    left: -5%;
    animation: float-delay-3 6s ease-in-out infinite;
}

@keyframes float-delay-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -15px); }
}

@keyframes float-delay-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 15px); }
}

@keyframes float-delay-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -10px); }
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stats-card p {
    color: var(--gray);
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--light);
}

.section-badge {
    display: inline-block;
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-icon.ai {
    background: linear-gradient(135deg, var(--secondary) 0%, #ddb52f 100%);
}

.feature-icon.accent {
    background: linear-gradient(135deg, var(--accent) 0%, #4fd1c5 100%);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

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

/* AI Section */
.ai-section {
    padding: 6rem 0;
    background: white;
}

.ai-features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.ai-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-features-list li i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.ai-features-list li strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.ai-features-list li span {
    color: var(--gray);
    font-size: 0.95rem;
}

.ai-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
}

.ai-chat-bubble {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.ai-chat-bubble.response {
    background: white;
    color: var(--dark);
    margin-left: 2rem;
}

.ai-typing {
    display: flex;
    gap: 0.3rem;
    padding: 1rem;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: var(--light);
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: var(--secondary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--dark);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.pricing-features li i {
    color: var(--accent);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pricing-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-pricing-primary:hover {
    background: var(--primary-light);
    color: white;
}

.btn-pricing-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-pricing-outline:hover {
    background: var(--primary);
    color: white;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonial-card {
    background: var(--light);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.testimonial-stars {
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.testimonial-info h5 {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,138.7C672,139,768,181,864,197.3C960,213,1056,203,1152,181.3C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--secondary);
}

.footer-desc {
    max-width: 300px;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .stats-pill {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-features {
        gap: 0.5rem;
    }

    .hero-feature-item {
        font-size: 0.9rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .ai-card {
        padding: 1rem;
    }

    .ai-card-header {
        font-size: 0.9rem;
    }

    .ai-query p,
    .ai-result,
    .case-title {
        font-size: 0.85rem;
    }

    .case-excerpt {
        font-size: 0.8rem;
    }

    .stats-card {
        margin-bottom: 1rem;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
