/* ============================================
   POSIFY Website Styles
   ============================================ */

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

:root {
    --navy-900: #102a43;
    --navy-800: #243b53;
    --navy-700: #334e68;
    --navy-600: #486581;
    --black-900: #000000;
    --black-800: #0a0a0a;
    --black-700: #1a1a1a;
    --black-600: #2a2a2a;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--gray-800);
    line-height: 1.6;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 42, 67, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(16, 42, 67, 0.15);
}

.nav {
    padding: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    position: relative;
}

/* Logo */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -0.5px;
    animation: logoTextFadeIn 1s ease-out;
    position: relative;
}

@keyframes logoTextFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo:hover .logo-text {
    animation: logoTextPulse 0.6s ease-in-out;
}

@keyframes logoTextPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Desktop Navigation Menu */
.nav-menu {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-item {
    color: var(--navy-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 6px;
    height: 6px;
    background: var(--black-900);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.nav-item:hover {
    color: var(--black-900);
    background: rgba(16, 42, 67, 0.05);
}

.nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.btn-demo {
    display: none;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 42, 67, 0.2);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .btn-demo {
        display: inline-block;
    }
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.3);
}

.btn-demo:active {
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--navy-900);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-item {
    color: var(--navy-900);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-nav-item:hover {
    background: rgba(16, 42, 67, 0.05);
    border-color: rgba(16, 42, 67, 0.1);
    transform: translateX(4px);
}

.btn-demo-mobile {
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 42, 67, 0.2);
}

.btn-demo-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.3);
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 100%);
    color: var(--white);
}

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

.btn-secondary {
    background: var(--gray-100);
    color: var(--navy-900);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-white {
    background: var(--white);
    color: var(--navy-900);
}

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

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-arrow {
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay for better text readability when using images */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Only show overlay if image is present */
.hero-slide[style*="background-image"]::before {
    display: block;
}

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

.gradient-1 {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 50%, var(--navy-900) 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, var(--black-900) 0%, var(--navy-800) 50%, var(--black-900) 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--black-800) 50%, var(--navy-800) 100%);
}

/* When image is present, gradient becomes overlay */
.hero-slide[style*="background-image"].gradient-1,
.hero-slide[style*="background-image"].gradient-2,
.hero-slide[style*="background-image"].gradient-3 {
    background-blend-mode: overlay;
}

.hero-slide[style*="background-image"].gradient-1::before {
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.7) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(16, 42, 67, 0.7) 100%);
}

.hero-slide[style*="background-image"].gradient-2::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(36, 59, 83, 0.7) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-slide[style*="background-image"].gradient-3::before {
    background: linear-gradient(135deg, rgba(36, 59, 83, 0.7) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(36, 59, 83, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.4s both;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-nav-prev {
    left: 1rem;
}

@media (min-width: 768px) {
    .hero-nav-prev {
        left: 2rem;
    }
}

.hero-nav-next {
    right: 1rem;
}

@media (min-width: 768px) {
    .hero-nav-next {
        right: 2rem;
    }
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.hero-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-indicator.active {
    width: 32px;
    border-radius: 4px;
    background: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 20;
}

@media (min-width: 768px) {
    .scroll-indicator {
        right: 4rem;
    }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.5;
    }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

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

/* ============================================
   About Section
   ============================================ */

.about {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: linear-gradient(135deg, #f0f4f8 0%, #e5e7eb 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-emoji {
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray-600);
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: linear-gradient(to bottom, var(--gray-50) 0%, var(--white) 100%);
}

.features-grid-large {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid-large {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card-large {
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.feature-icon-large {
    width: 48px;
    height: 48px;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.pricing-card-popular {
    border: 2px solid var(--black-900);
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .pricing-card-popular {
        transform: scale(1.1);
    }
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--black-900) 0%, var(--navy-900) 100%);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pricing-badge-icon {
    font-size: 0.875rem;
}

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

.pricing-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

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

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-900);
}

.pricing-period {
    color: var(--gray-600);
    margin-left: 0.25rem;
}

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

.pricing-feature {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.pricing-check {
    color: var(--black-900);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    background: linear-gradient(to bottom, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    padding: 4rem 0;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 300px;
    padding: 0 4rem;
}

@media (max-width: 767px) {
    .testimonials-carousel {
        padding: 0 3rem;
    }
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 3rem;
    }
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--black-900);
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .testimonial-text {
        font-size: 1.25rem;
    }
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--gray-200);
    background: var(--gray-100);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid var(--gray-200);
}

.testimonial-author-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.testimonial-business {
    color: var(--gray-600);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--navy-900);
    border: 2px solid var(--gray-200);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.testimonial-nav:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav-prev {
    left: 0.5rem;
}

@media (min-width: 768px) {
    .testimonial-nav-prev {
        left: -3rem;
    }
}

.testimonial-nav-next {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .testimonial-nav-next {
        right: -3rem;
    }
}

@media (max-width: 767px) {
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .testimonial-nav-prev {
        left: 0.25rem;
    }
    
    .testimonial-nav-next {
        right: 0.25rem;
    }
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-indicator.active {
    width: 32px;
    border-radius: 4px;
    background: var(--black-900);
}

.testimonial-indicator:hover {
    background: var(--gray-400);
}

/* ============================================
   Demo Request Modal
   ============================================ */

.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.demo-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.demo-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--gray-600);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.demo-modal-close:hover {
    background: var(--gray-100);
    color: var(--black-900);
}

.demo-modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.demo-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black-900);
    margin-bottom: 0.5rem;
}

.demo-modal-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.demo-modal-form {
    padding: 0 2rem 2rem;
}

.demo-modal-form .form-group {
    margin-bottom: 1.5rem;
}

.demo-modal-form label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.demo-modal-form .required {
    color: #ef4444;
}

.demo-modal-form input[type="text"],
.demo-modal-form input[type="tel"],
.demo-modal-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.demo-modal-form input:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.1);
}

.demo-modal-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.demo-modal-form .form-actions .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.demo-modal-form .form-actions .btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
}

.demo-modal-form .form-actions .btn-secondary:hover {
    background: var(--gray-300);
}

.demo-modal-form .form-actions .btn-primary {
    background: var(--navy-900);
    color: var(--white);
}

.demo-modal-form .form-actions .btn-primary:hover:not(:disabled) {
    background: var(--black-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.25);
}

.demo-modal-form .form-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit-request {
    position: relative;
    min-width: 140px;
    transition: all 0.3s ease;
}

.btn-submit-request:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.25);
}

.btn-submit-request:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit-request .btn-text,
.btn-submit-request .btn-loader {
    display: inline-block;
}

.btn-submit-request.loading .btn-text {
    opacity: 0;
}

.btn-submit-request.loading .btn-loader {
    display: inline-block !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@media (max-width: 640px) {
    .demo-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .demo-modal-header,
    .demo-modal-form {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .demo-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .demo-modal-form .form-actions {
        flex-direction: column;
    }
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 50%, var(--navy-900) 100%);
    color: var(--white);
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3.5rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.footer-logo .logo-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo .logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    animation: logoTextFadeIn 1s ease-out;
    position: relative;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--navy-800);
    color: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--black-900);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--navy-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: left;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ============================================
   Animations
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* AOS (Animate On Scroll) - Simple implementation */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery {
    background: var(--white);
    padding: 5rem 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-filter {
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 2rem;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.gallery-filter:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

.gallery-filter.active {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--black-900) 100%);
    color: var(--white);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.gallery-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-content {
    color: var(--white);
}

.gallery-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-view-btn {
    background: var(--white);
    color: var(--navy-900);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-view-btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-600);
}

.gallery-item.hidden {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 4rem;
    cursor: pointer;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

#lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.125rem;
    text-align: center;
    max-width: 80%;
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--navy-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy-800);
}

