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

/* Remove underlines from all anchor tags */
a {
    text-decoration: none !important;
}

:root {
    --primary-color: #4A90E2;
    --secondary-color: #1E40AF;
    --accent-color: #7C3AED;
    --dark-bg: #0A1929;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --success: #10B981;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

/* Prevent scrolling when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Mobile sticky fix */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    /* Add top margin to hero section on mobile to compensate for fixed header */
    .hero {
        margin-top: 80px;
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-login i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #5BA3F5, #8B5CF6);
}

.btn-login:hover i {
    transform: translateX(3px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

.mobile-toggle:hover {
    background: rgba(74, 144, 226, 0.1);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-600);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary-color);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 0 15px;
    }
    
    .hero-content p {
        max-width: 100%;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 10px;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-content p a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.hero-content p a:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.device {
    background: #2D3748;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.device.desktop {
    width: 300px;
    height: 200px;
    animation-delay: 0s;
}

.device.tablet {
    width: 150px;
    height: 200px;
    position: absolute;
    right: -20px;
    top: 50px;
    animation-delay: 2s;
}

.device.mobile {
    width: 80px;
    height: 140px;
    position: absolute;
    left: -20px;
    bottom: 20px;
    animation-delay: 4s;
}

.screen {
    background: white;
    border-radius: 0.5rem;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.dashboard-content {
    padding: 1rem;
    height: 100%;
}

.dashboard-header {
    margin-bottom: 1rem;
}

.nav-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.tab.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-stats {
    display: flex;
    gap: 0.5rem;
}

.stat-card {
    background: var(--gray-100);
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: center;
    flex: 1;
}

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

.stat-label {
    font-size: 0.625rem;
    color: var(--gray-600);
}

.mobile-content {
    padding: 0.5rem;
    height: 100%;
}

.mobile-header {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem;
    text-align: center;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-item {
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    text-align: center;
}

.mobile-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mini-stat {
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.5rem;
    text-align: center;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        gap: 1rem;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.feature-list i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: white;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-video h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.demo-video p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.demo-features h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.demo-features > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.demo-features > p a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.demo-features > p a:hover {
    color: #FFA500;
    text-decoration: none;
}

.demo-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-icon i {
    color: white;
    font-size: 1.25rem;
}

.demo-text h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.demo-text p {
    color: var(--gray-600);
    line-height: 1.6;
}

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

.demo-buttons .btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 160px;
    text-align: center;
}

.demo-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.demo-buttons .btn:hover::before {
    left: 100%;
}

.demo-buttons .btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #1E40AF 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.demo-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #5BA0F2 0%, #2E50BF 100%);
}

.demo-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #4A90E2;
    border: 2px solid #4A90E2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.demo-buttons .btn-outline:hover {
    background: rgba(74, 144, 226, 0.1);
    color: #1E40AF;
    border-color: #1E40AF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

.demo-buttons .btn-primary:active {
    transform: translateY(-1px);
}

.demo-buttons .btn-outline:active {
    transform: translateY(-1px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.about-text > p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-icon i {
    color: white;
    font-size: 1.25rem;
}

.about-content-text h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.about-content-text p {
    color: var(--gray-600);
    line-height: 1.6;
}

.mission-card {
    background: url('mychurchsystem_desktopview.png');
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.85);
    border-radius: 1rem;
}

.mission-overlay {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 95%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-overlay h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.mission-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
}

.mission-overlay p a {
    color: #FFD700;
    text-decoration: underline;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mission-overlay p a:hover {
    color: #FFF8DC;
    text-decoration: none;
}

/* Contact Form Enhancements */
.contact-form input.error,
.contact-form textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-notification {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
    animation: slideIn 0.3s ease;
}

.form-notification.success {
    background-color: #f0fdf4;
    border-color: #22c55e;
    color: #15803d;
}

.form-notification.error {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0.25rem;
    border-radius: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

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

/* Pricing Section */
.pricing {
    padding: 40px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.pricing-subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.pricing-features i {
    color: var(--success);
    font-size: 0.875rem;
}

.pricing-card .btn {
    margin-top: auto;
    align-self: stretch;
}

/* FAQ Section */
.faq {
    padding: 30px 0;
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-hero);
    border-radius: 1rem;
    color: white;
}

.faq-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.faq-cta .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: center;
}

.faq-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.faq-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.faq-cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

.faq-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon.email {
    background: #EA4335;
}

.contact-icon.hours {
    background: #4285F4;
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand .logo i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-300);
}

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

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C, #833AB4);
}

.social-link.tiktok {
    background: #000000;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link i {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-600);
    color: var(--gray-300);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    align-items: center;
    justify-content: center;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    background: #000;
    border-radius: 1.5rem;
    width: 90vw;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    animation: modalFadeIn 0.3s ease forwards;
    display: flex;
    flex-direction: column;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}


.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-modal-close i {
    font-size: 1.25rem;
}

.video-modal-body {
    padding: 0;
    background: #000;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Modal animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.video-modal.closing .video-modal-content {
    animation: modalFadeOut 0.3s ease forwards;
}

/* Responsive modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95vw;
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .video-modal-header {
        padding: 1.5rem;
    }
    
    .video-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .video-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 35px;
        height: 35px;
    }
    
    .video-wrapper {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98vw;
        max-width: 98vw;
        max-height: 80vh;
        border-radius: 1rem;
    }
    
    .video-modal-header {
        padding: 1rem;
    }
    
    .video-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .video-modal-header p {
        font-size: 0.875rem;
    }
    
    .video-wrapper {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
}

/* Simple Mobile Dropdown Menu */
.nav-menu.mobile-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(74, 144, 226, 0.1);
    border-top: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
}

.nav-menu.mobile-active.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide mobile close button for simple dropdown and desktop */
.mobile-close {
    display: none;
}

.nav-menu.mobile-active .mobile-close {
    display: none;
}

/* Mobile Menu Items */
.nav-menu.mobile-active li {
    margin: 0;
    list-style: none;
    border-bottom: 1px solid rgba(74, 144, 226, 0.08);
}

.nav-menu.mobile-active li:last-child {
    border-bottom: none;
}

.nav-menu.mobile-active a {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.nav-menu.mobile-active a:hover,
.nav-menu.mobile-active a:focus {
    background: rgba(74, 144, 226, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.nav-menu.mobile-active .mobile-login a {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 600;
    margin: 0.75rem 1.5rem 1rem 1.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: none;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.25);
    transform: none;
}

.nav-menu.mobile-active .mobile-login a:hover {
    background: linear-gradient(135deg, #5BA0F2 0%, #2E50BF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
}

/* Mobile drawer backdrop */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@keyframes slideInFromRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

/* Hide mobile login on desktop, show desktop login */
.mobile-login {
    display: none;
}

.desktop-login {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .navbar {
        position: relative;
        z-index: 1001;
        padding: 1rem 1.5rem;
    }
    
    .nav-brand .logo {
        font-size: 1.3rem;
    }
    
    .nav-brand .logo-img {
        width: 36px;
        height: 36px;
    }
    
    /* Hide desktop login, show mobile login in drawer */
    .desktop-login {
        display: none;
    }
    
    .mobile-login {
        display: block;
    }
    
    .nav-menu.mobile-active {
        width: 280px;
        padding: 100px 0 2rem 0;
    }
}

/* Tablet responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-brand .logo {
        font-size: 1.2rem;
    }
    
    .nav-brand .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .btn-login {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-toggle {
        padding: 8px;
    }
    
    .mobile-toggle span {
        width: 22px;
        height: 3px;
    }
    
    .nav-menu.mobile-active {
        width: 260px;
    }
    
    .nav-menu.mobile-active a {
        font-size: 1.1rem;
        padding: 1.1rem 1.5rem;
    }
    
    .nav-menu.mobile-active .mobile-login a {
        margin: 1rem 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .dashboard-mockup {
        justify-content: center;
    }
    
    .device.tablet,
    .device.mobile {
        position: static;
    }
    
    .demo-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: none;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .demo-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }
    
    .navbar {
        padding: 1rem;
    }
}

/* Custom Solutions Section */
.custom-solutions {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
    position: relative;
}

.custom-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.custom-solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.custom-solutions-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.custom-solutions-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.custom-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.custom-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-feature i {
    color: #4A90E2;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.custom-feature span {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.cta-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #667eea);
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cta-card p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-email {
    background: #4A90E2;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-email:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.response-time i {
    color: #4A90E2;
}

/* Responsive Design for Custom Solutions */
@media (max-width: 768px) {
    .custom-solutions-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .custom-solutions-text h2 {
        font-size: 2rem;
    }
    
    .custom-features {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-whatsapp,
    .btn-email {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
}
