/* ============================================
   Search Intelligence Tool - Public Theme
   Modern Blue Design System
   ============================================ */

:root {
    /* Primary Blue Palette */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-lighter: #60a5fa;
    --primary-lightest: #dbeafe;
    
    /* Secondary Colors */
    --secondary: #1e293b;
    --secondary-light: #334155;
    --secondary-lighter: #475569;
    
    /* Accent Colors */
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #1e293b 50%, #0f172a 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 20px 40px -8px rgba(37, 99, 235, 0.3);
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly buttons */
button, 
a.btn {
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

/* Prevent text selection on double-tap */
.navbar-brand,
.btn,
.feature-card,
.cta-card {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-lighter);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
    padding: 9rem 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 8rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="4" height="4" patternUnits="userSpaceOnUse"><path d="M 4 0 L 0 0 0 4" fill="none" stroke="rgba(96,165,250,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo-container {
    animation: fadeInDown 1s ease;
}

.hero-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--primary-lighter);
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-download,
.btn-trial {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -8px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-trial {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-trial:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-3px);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-lighter);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-image-container {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-card {
    position: relative;
    padding: 2rem;
}

.hero-card img {
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.tool-preview-placeholder {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(30, 64, 175, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.tool-preview-image {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.tool-preview-image:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.4);
}

.hero-mascot-img {
    max-width: 85%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.tool-preview-image:hover .hero-mascot-img {
    transform: scale(1.05);
}

.fallback-icon {
    text-align: center;
    color: var(--white);
}

.fallback-icon i {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.fallback-icon h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.fallback-icon p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.fallback-icon small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 8px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.tool-preview-placeholder:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.4);
}

.tool-preview-placeholder i {
    color: var(--primary-lighter);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.tool-preview-placeholder h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tool-preview-placeholder p {
    color: var(--gray-300);
    font-size: 1.1rem;
    margin: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.floating-badge i {
    color: var(--primary);
}

.badge-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator p {
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
    transition: border-color 0.3s ease;
}

.scroll-indicator:hover .mouse {
    border-color: rgba(255, 255, 255, 0.8);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}


/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
    scroll-margin-top: 80px;
    flex: 1;
    display: flex;
    align-items: center;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -10px rgba(37, 99, 235, 0.4);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-option {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.contact-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.contact-icon.telegram {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.contact-option h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-option a {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-option a:hover {
    color: var(--primary-dark);
}

/* ============================================
   TRIAL REQUEST PAGE
   ============================================ */

.trial-section {
    padding: 8rem 0 6rem;
    background: var(--gray-50);
    min-height: 100vh;
}

.trial-header {
    margin-bottom: 3rem;
}

.trial-logo {
    height: 60px;
    width: auto;
}

.trial-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.trial-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.trial-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-control-modern {
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.alert-modern {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: none;
    font-weight: 500;
}

.info-card {
    background: linear-gradient(145deg, var(--primary-lightest) 0%, var(--white) 100%);
    border-color: var(--primary-light);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-weight: 500;
}

.feature-item i {
    color: var(--success);
    font-size: 1.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon-small {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-icon-small.telegram-icon {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.contact-details h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary);
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--primary-lightest);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
}

.quick-link i {
    color: var(--primary);
}

/* Contact Method Cards */
.contact-method-card {
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.contact-method-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-method-card:hover .contact-method-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-blue);
}

.contact-method-icon.telegram-icon {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.contact-method-icon.email-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.contact-value .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
}

.contact-value .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--success);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2rem;
}

.feature-box p {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-lighter);
    padding-left: 5px;
}

.footer-divider {
    border-color: var(--gray-800);
    margin: 2rem 0;
}

.footer-copyright,
.footer-credit {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-credit a {
    color: var(--primary-lighter);
}

.footer-credit a:hover {
    color: var(--primary);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-blue);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -8px rgba(37, 99, 235, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.5;
        top: 16px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .hero-image-container {
        margin-top: 3rem;
    }
    
    .floating-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-download,
    .btn-trial {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-around;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .trial-card {
        padding: 1.5rem;
    }
    
    .contact-method-icon {
        width: 80px;
        height: 80px;
    }
    
    .contact-method-icon i {
        font-size: 2rem;
    }
    
    .feature-box {
        padding: 1rem 0.75rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer .row.g-4 {
        row-gap: 2rem !important;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-logo-text {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-copyright,
    .footer-credit {
        text-align: center !important;
        font-size: 0.875rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .features-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        padding: 5rem 0 2rem;
        min-height: auto;
    }
    
    .trial-section {
        padding: 5rem 0 3rem;
    }
    
    .trial-title {
        font-size: 1.75rem;
    }
    
    .trial-subtitle {
        font-size: 0.95rem;
    }
    
    .contact-method-card {
        margin-bottom: 1rem;
    }
    
    .contact-method-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-method-icon i {
        font-size: 1.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .feature-box {
        padding: 1rem;
    }
    
    .feature-box i {
        font-size: 1.5rem;
    }
    
    .feature-box p {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2rem !important;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .floating-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        gap: 0.3rem;
    }
    
    .floating-badge i {
        font-size: 0.85rem;
    }
    
    .badge-1 {
        top: 5%;
        left: 5%;
    }
    
    .badge-2 {
        top: 5%;
        right: 5%;
    }
    
    .badge-3 {
        bottom: 5%;
        left: 5%;
    }
    
    .tool-preview-image {
        min-height: 220px;
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .hero-mascot-img {
        max-height: 220px;
        max-width: 90%;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 0.95rem;
    }
    
    .navbar-brand i {
        font-size: 1.2rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .features-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .feature-icon i {
        font-size: 1.4rem;
    }
    
    .feature-title {
        font-size: 1.05rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .cta-card {
        padding: 1.75rem 1.25rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* iPhone 6/7/8 and smaller (375px and below) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .floating-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .hero-mascot-img {
        max-height: 200px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
    
    .cta-title {
        font-size: 1.35rem;
    }
}

/* iPhone SE and very small screens (320px) */
@media (max-width: 320px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.7rem 1.25rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-mascot-img {
        max-height: 180px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 0.85rem;
    }
}

