/* Apple-style CSS for SABA Awareness Website */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Add keyframes animations for background patterns */
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #e2e8f0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.8);
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(226, 232, 240, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
    border-color: rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

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

.full-width {
    width: 100%;
}

/* Modern Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    border-bottom-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Brand Section */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

.brand-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Brand text styles removed since text was removed from header */
/*
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.7);
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
*/

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-link {
    position: relative;
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 100%;
}

/* Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-login:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.btn-get-started {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-get-started::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 cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-get-started:hover::before {
    left: 100%;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #7c87f0 0%, #8a6bb6 100%);
}

.btn-get-started .btn-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-get-started:hover .btn-icon {
    transform: translateX(2px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    gap: 4px;
    z-index: 1001;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px; /* Height of the header */
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: block;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #667eea;
    padding-left: 8px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-actions {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-btn-login,
.mobile-btn-get-started {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-btn-login {
    color: #e2e8f0;
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.05);
}

.mobile-btn-login:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    color: #ffffff;
}

.mobile-btn-get-started {
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.mobile-btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .brand-logo {
        height: 68px;
        width: 68px;
    }
    
    /* Brand text styles commented out since text was removed from header */
    /*
    .brand-title {
        font-size: 20px;
    }
    
    .brand-subtitle {
        font-size: 10px;
    }
    */
    
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        display: block;
        clear: both;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        min-height: 48px; /* Better touch target */
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .btn-primary.full-width {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 60px;
    }
    
    /* Brand text display commented out since text was removed from header */
    /*
    .brand-text {
        display: none;
    }
    */
}

/* Hero Section */
.hero {
    padding: 200px 0 60px; /* Reduced bottom padding to minimize empty space */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    display: flex;
    align-items: center;
    position: relative;
    /* Removed min-height: 100vh to prevent excessive spacing */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.8);
    margin: 0 auto 2.5rem auto; /* Center the subtitle */
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem; /* Reduced margin to minimize spacing */
    flex-wrap: wrap;
    justify-content: center; /* Center the buttons */
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem; /* Reduced padding */
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    justify-content: center; /* Center the stats */
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.8);
}

/* Removed hero-visual and phone-mockup styles since mockup was removed */

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 30s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
        height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #87ceeb 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    color: #e2e8f0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: #2563eb;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.015) 1px, transparent 1px);
    background-size: 120px 120px;
    animation: gridMove 40s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

.step {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2.5rem;
    width: 50px;
        height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.step-content h3 {
    font-size: 1.75rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.step-content p {
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 1.5rem;
}

.step-visual {
    margin-top: 1rem;
}

.qr-demo {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-placeholder span {
    font-size: 3rem;
    color: #e2e8f0;
}

.dashboard-preview {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.setting-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    font-weight: 500;
    color: #e2e8f0;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.automation-demo {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.message-bubble {
    padding: 1rem;
    border-radius: 18px;
    margin-bottom: 0.5rem;
    max-width: 80%;
}

.message-bubble.user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.message-bubble.saba {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-bottom-left-radius: 6px;
}

/* QR Section */
.qr-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
}

.qr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.qr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.qr-info h2 {
    font-size: 2.5rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.qr-info p {
    color: rgba(226, 232, 240, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

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

.instruction-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.qr-frame {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-placeholder-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #1e293b;
}

.qr-icon {
    font-size: 4rem;
    color: #2563eb;
}

.qr-placeholder-large h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.qr-placeholder-large p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.qr-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: rgba(226, 232, 240, 0.8);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #30d158;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: visible; /* Ensure badges can extend outside */
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.01) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 35s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
}

/* New Pricing Table Styles */
.pricing-table-container {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 20px;
    overflow: hidden;
    font-size: 1rem;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.pricing-table thead {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.pricing-table th {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #e2e8f0;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.feature-column {
    text-align: left !important;
    min-width: 200px;
    background: rgba(30, 41, 59, 0.9);
}

.plan-column {
    min-width: 150px;
    position: relative;
}

.featured-plan {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.1) 100%);
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.featured-plan::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-table tbody tr {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    background: rgba(30, 41, 59, 0.6);
}

.pricing-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
}

.pricing-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    vertical-align: middle;
    color: rgba(226, 232, 240, 0.9);
}

.feature-name {
    text-align: left !important;
    font-weight: 500;
    color: #e2e8f0;
}

.feature-check {
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: bold;
}

.feature-unavailable {
    color: rgba(226, 232, 240, 0.3);
    font-size: 1.2rem;
}

.pricing-table tfoot {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.pricing-row td {
    padding: 2rem 1.5rem;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
}

.price-label {
    text-align: left !important;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.price-value {
    font-weight: 700;
    color: #e2e8f0;
    position: relative;
}

.currency {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-right: 0.25rem;
}

.amount {
    font-size: 1.8rem;
    color: #2563eb;
}

.featured-price {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.featured-price .amount {
    color: #e2e8f0;
}

.popular-badge {
    position: absolute;
    top: -25px;
    left: 50%;
        transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-cta {
    text-align: center;
    margin: 2rem 0;
}

.plan-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.powered-by {
    text-align: center;
    margin: 3rem 0 2rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Footer logos container */
.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    display: block;
    margin-bottom: 0; /* Remove margin since we're using gap */
}

.partner-logo:hover {
    opacity: 1;
}

/* Pricing Cards Grid Layout */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    padding-top: 3rem; /* Increased top padding to accommodate "Most Popular" badge */
}

.plan-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    z-index: 20;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    text-align: left;
    margin-bottom: 2rem;
}

.feature {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    color: rgba(226, 232, 240, 0.9);
}

.pricing-card.featured .feature {
    border-bottom-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .amount {
    color: white;
}

.pricing-note {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    color: rgba(226, 232, 240, 0.9);
    position: relative;
    z-index: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pricing-note a {
    color: #2563eb;
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.015) 1px, transparent 1px);
    background-size: 90px 90px;
    animation: gridMove 30s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
    color: #2563eb;
}

.contact-details h4 {
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: #ffffff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
    color: #667eea;
}

.company-info {
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    border-left: 4px solid #2563eb;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.company-info h4 {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.company-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.8);
}

/* Form Styles */
.form {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: rgba(15, 23, 42, 0.95);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group.focused label {
    color: #2563eb;
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(226, 232, 240, 0.5);
    opacity: 1;
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        display: block;
        clear: both;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        min-height: 48px; /* Better touch target */
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .btn-primary.full-width {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 8px;
    }
}

/* Enhanced form validation states */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group.has-success input,
.form-group.has-success textarea {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.form-group.has-error label {
    color: #ef4444;
}

.form-group.has-success label {
    color: #22c55e;
}

/* Better hover states for desktop */
@media (hover: hover) {
    .form-group input:hover,
    .form-group textarea:hover {
        border-color: rgba(102, 126, 234, 0.5);
        background: rgba(15, 23, 42, 0.9);
    }
}

/* Footer */
.footer {
    background: #1d1d1f;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-brand p {
    color: #a1a1a6;
    margin-top: 1rem;
}

.footer-logo {
    max-height: 50px; /* or your preferred value */
    width: auto;
    display: block;
    margin-bottom: 0; /* Remove margin since we're using gap */
}

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

.footer-column a {
    display: block;
    color: #a1a1a6;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #2563eb;
}

/* Red Support Button in Footer */
.footer-column a[href*="support"] {
    color: #ff4757 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-column a[href*="support"]:hover {
    color: #ff3742 !important;
    text-decoration: underline;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    color: rgba(226, 232, 240, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(102, 126, 234, 0.6);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-link svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #a1a1a6;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Support page specific styling */
.support-steps {
    margin: 2rem 0;
}

.support-steps .step {
    margin-bottom: 2rem;
    padding: 1.5rem;
        background: #f5f5f7;
    border-radius: 12px;
    border-left: 4px solid #4A90E2;
}

.support-steps .step h3 {
    color: #4A90E2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.support-steps .step p {
    margin-bottom: 0;
    color: #424245;
}

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

.support-card {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.support-card:hover {
    border-color: #4A90E2;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.1);
    transform: translateY(-2px);
}

.support-card h3 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.support-card p {
    color: #86868b;
    margin-bottom: 1.5rem;
}

.support-card .btn-primary,
.support-card .btn-secondary {
    display: inline-block;
    margin-bottom: 1rem;
}

.support-card .btn-primary {
    color: white !important;
}

.support-card small {
    color: #86868b;
    font-size: 0.9rem;
}

/* Emergency Support Styling */
.emergency-support {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b35 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid #ff3b30;
    box-shadow: 0 8px 32px rgba(255, 59, 48, 0.3);
}

.emergency-support h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-support p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.emergency-support .btn-primary {
    background: white;
    color: #ff3b30;
    border: 2px solid white;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.emergency-support .btn-primary:hover {
    background: #f5f5f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.emergency-support small {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .support-steps .step {
        padding: 1rem;
    }
    
    .support-card {
        padding: 1.5rem;
    }
}

/* Sub-pages styling */
.page-content {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
}

/* Page content spacing for non-hero pages */
.page-content {
    margin-top: 50px; /* Extra space for ticker on sub-pages */
}

/* Remove extra space from hero section since it has its own padding */
.hero ~ * {
    margin-top: 0;
}

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

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e2e8f0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 1rem;
    font-weight: 400;
}

.last-updated {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.6);
    font-weight: 400;
}

.content-wrapper {
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.9);
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    color: #e2e8f0;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2rem 0 0.75rem 0;
    color: #e2e8f0;
}

.content-wrapper p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.8);
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.8);
}

.content-wrapper a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.content-wrapper a:hover {
    text-decoration: underline;
    color: #e2e8f0;
}

.content-wrapper strong {
    font-weight: 600;
    color: #e2e8f0;
}

/* Responsive styling for sub-pages */
@media (max-width: 768px) {
    .page-content {
        padding: 80px 0 60px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.1rem;
    }
    
    .content-wrapper p,
    .content-wrapper li {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .qr-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none !important; /* Hide on desktop, mobile styles will override */
    }
    
    .section-content {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 140px 0 40px; /* Reduced mobile bottom padding for consistency */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        padding-top: 3rem; /* Maintain padding on mobile */
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 0.5rem; /* Keep margin for badge visibility */
    }
    
    /* Pricing Table Responsive */
    .pricing-table-wrapper {
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-column {
        min-width: 160px;
    }
    
    .plan-column {
        min-width: 120px;
    }
    
    .amount {
        font-size: 1.5rem;
    }
    
    .plan-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .partner-logos {
        gap: 1rem;
    }
    
    .partner-logo {
        height: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logos,
    .social-links {
        justify-content: center; /* Center the flex items on mobile */
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .social-links {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.875rem 1.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .feature-card,
    .pricing-card {
        padding: 2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .social-links {
        gap: 0.6rem;
    }
}

/* Enhanced Animations and Interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Enhanced Card Hover Effects */
.enhanced-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 0; /* Establish stacking context */
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.3), 
        rgba(118, 75, 162, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1; /* Above card background but below content */
    pointer-events: none;
}

/* Ensure enhanced card content stays above shimmer */
.enhanced-card > * {
    position: relative;
    z-index: 2;
}

.enhanced-card:hover::before {
    left: 100%;
}

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

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Floating Action Button */
.floating-chat {
    position: fixed;
    bottom: 20px;
        right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.floating-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

/* Enhanced Button Styles */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

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

.faq-item {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-user-select: none;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #4A90E2;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(0, 122, 255, 0.02);
}

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

/* Default first FAQ item to be open */
.faq-item:first-child {
    margin-top: 0;
}

.faq-item:first-child .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-item:first-child .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer p {
    color: rgba(226, 232, 240, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced Feature Cards */
.feature-card {
    position: relative;
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
        height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #87ceeb 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Pricing Cards */
.pricing-card {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden; /* Keep overflow hidden for shine effect */
    color: #e2e8f0;
    z-index: 0; /* Establish stacking context */
}

/* Separate wrapper for badge positioning */
.pricing-card-wrapper {
    position: relative;
    overflow: visible; /* Allow badge to show outside */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.4), 
        rgba(118, 75, 162, 0.3), 
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1; /* Above card background but below content */
    pointer-events: none;
}

/* Ensure card content stays above shimmer */
.pricing-card > * {
    position: relative;
    z-index: 2;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.pricing-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.07);
}

/* Enhanced Steps */
.step {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2.5rem;
    width: 50px;
        height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* Enhanced Contact Methods */
.contact-method {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-left: 4px solid rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.contact-method:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left-color: #2563eb;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
    color: #2563eb;
}

.contact-method:hover .contact-icon {
    transform: scale(1.2) rotate(-5deg);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }
    
    .feature-card,
    .pricing-card,
    .step {
        margin-bottom: 2rem;
    }
    
    .contact-method:hover {
        transform: none;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

/* Headlines Ticker */
.headlines-ticker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 80px; /* Position below the fixed nav */
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-content {
    display: flex;
    animation: scroll-left 180s linear infinite;
    will-change: transform;
    width: 200%; /* Double width for seamless loop */
}

.ticker-wrapper {
    display: flex;
    min-width: 100vw;
    flex-shrink: 0;
}

.ticker-wrapper:last-child {
    margin-left: 8rem; /* Gap between the two sets */
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 6rem;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-text {
    font-weight: 500;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move by half since we have double content */
    }
}

/* Responsive Ticker */
@media (max-width: 768px) {
    .headlines-ticker {
        padding: 0.5rem 0;
        top: 70px; /* Smaller nav height on mobile */
    }
    
    .ticker-item {
        font-size: 0.85rem;
        margin-right: 4rem;
    }
    
    .ticker-wrapper:last-child {
        margin-left: 6rem; /* Smaller gap on mobile */
    }
    
    .ticker-date {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        margin-right: 0.75rem;
    }
    
    .ticker-content {
        animation-duration: 120s;
    }
}

@media (max-width: 480px) {
    .ticker-item {
        font-size: 0.8rem;
        margin-right: 3rem;
    }
    
    .ticker-wrapper:last-child {
        margin-left: 4rem; /* Even smaller gap on small mobile */
    }
    
    .ticker-date {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
        margin-right: 0.5rem;
    }
    
    .ticker-content {
        animation-duration: 100s;
    }
}

.headlines-ticker:hover .ticker-content {
    animation-play-state: paused;
}
