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

:root {
    /* Blue Color Palette */
    --primary-blue: #3B82F6;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --accent-blue: #0EA5E9;
    --navy: #1E3A8A;
    --sky: #0284C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    --gradient-secondary: linear-gradient(135deg, #60A5FA 0%, #0EA5E9 100%);
    --gradient-accent: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-blue: 0 10px 40px -10px rgba(59, 130, 246, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.logo-icon {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
}

.brand-name {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    color: var(--gray-900);
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

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

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out 1s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Challenges Section */
.challenges-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FEF2F2 100%);
    position: relative;
}

.challenges-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.challenges-intro .section-subtitle {
    color: #DC2626;
    font-weight: 500;
    font-size: 1.125rem;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.challenge-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 1rem;
    border: 2px solid #FEE2E2;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC2626 0%, #EF4444 100%);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.challenge-card:hover {
    border-color: #FCA5A5;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
    transform: translateY(-5px);
}

.challenge-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: #DC2626;
}

.challenge-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.challenge-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Solution Section */
.solution-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #E0F2FE 100%);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.solution-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.solution-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.solution-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-2xl) 0;
}

.solution-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.solution-benefits li svg {
    flex-shrink: 0;
    color: #10B981;
    margin-top: 2px;
}

.solution-benefits li span {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
}

.solution-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Solution Visual Diagram */
.solution-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-diagram {
    position: relative;
    width: 400px;
    height: 400px;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-circle {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
    animation: pulse-hub 3s ease-in-out infinite;
}

.hub-circle .hub-icon {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hub-circle span {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

@keyframes pulse-hub {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 25px 70px rgba(59, 130, 246, 0.6);
        transform: scale(1.05);
    }
}

.diagram-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 3px solid #3B82F6;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-900);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.node-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

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

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    stroke: #3B82F6;
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    opacity: 0.4;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* About TIPS Section */
.about-tips {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.about-text {
    padding-right: var(--spacing-lg);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.about-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
}

.about-description strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.highlight-item {
    background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 100%);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-blue);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-dark);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.highlight-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.highlight-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-blue);
}

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

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

/* Modules Section */
.modules {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.module-card {
    background: var(--white);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.module-card:hover .module-screenshot img {
    transform: scale(1.05);
}

.module-screenshot {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

/* Add decorative pattern to screenshot areas */
.module-screenshot::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(45deg, rgba(59, 130, 246, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(59, 130, 246, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(59, 130, 246, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(59, 130, 246, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.5;
    z-index: 0;
}

.module-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    position: relative;
    z-index: 1;
}

/* Beautiful fallback when image fails to load or doesn't exist */
.module-screenshot img:not([src]),
.module-screenshot img[src=""],
.module-screenshot img[alt]:after {
    opacity: 0;
}

.module-screenshot::after {
    content: 'Screenshot Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(59, 130, 246, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    z-index: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hide placeholder text when image loads */
.module-screenshot:has(img[style*="display: block"])::after {
    display: none;
}

.module-icon-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.module-icon-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    opacity: 0.95;
    z-index: 0;
}

.module-icon-overlay svg {
    position: relative;
    z-index: 1;
}

.module-icon-overlay.blue::before {
    background: var(--gradient-primary);
}

.module-icon-overlay.purple::before {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
}

.module-icon-overlay.cyan::before {
    background: var(--gradient-accent);
}

.module-icon-overlay.green::before {
    background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.module-content {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.module-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.module-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.module-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.module-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.module-features svg {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA Section */
.cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #3B82F6 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.cta-form {
    background: var(--white);
    border-radius: 1rem;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.cta-form button {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-brand .brand-name {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: unset;
}

.footer-text {
    max-width: 500px;
    margin: 0 auto var(--spacing-xl);
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-copyright {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        gap: var(--spacing-xl);
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .module-screenshot {
        height: 180px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-xl);
        gap: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-xl);
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .solution-visual {
        order: -1;
    }
    
    .solution-diagram {
        width: 320px;
        height: 320px;
    }
    
    .hub-circle {
        width: 100px;
        height: 100px;
    }
    
    .hub-circle span {
        font-size: 0.875rem;
    }
    
    .diagram-node {
        width: 80px;
        height: 80px;
        font-size: 0.8125rem;
    }
    
    .solution-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .module-screenshot {
        height: 220px;
    }
    
    .module-screenshot::after {
        font-size: 0.75rem;
    }
    
    .module-icon-overlay {
        width: 48px;
        height: 48px;
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .module-icon-overlay svg {
        width: 24px;
        height: 24px;
    }
    
    .module-content {
        padding: var(--spacing-lg);
    }
    
    .module-title {
        font-size: 1.25rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-form {
        padding: var(--spacing-lg);
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: var(--spacing-sm);
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-stats {
        gap: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .highlight-item {
        padding: var(--spacing-md);
    }
    
    .highlight-number {
        font-size: 1.5rem;
    }
    
    .challenge-card {
        padding: var(--spacing-lg);
    }
    
    .challenge-title {
        font-size: 1.125rem;
    }
    
    .solution-diagram {
        width: 280px;
        height: 280px;
    }
    
    .hub-circle {
        width: 90px;
        height: 90px;
    }
    
    .diagram-node {
        width: 70px;
        height: 70px;
        font-size: 0.75rem;
    }
    
    .solution-title {
        font-size: 1.75rem;
    }
    
    .solution-description {
        font-size: 1rem;
    }
    
    .solution-benefits li span {
        font-size: 0.9375rem;
    }
    
    .feature-card,
    .module-card {
        border-radius: 1rem;
    }
    
    .module-screenshot {
        height: 180px;
    }
    
    .module-screenshot::after {
        font-size: 0.625rem;
        padding: 0 var(--spacing-sm);
    }
    
    .module-icon-overlay {
        width: 40px;
        height: 40px;
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .module-icon-overlay svg {
        width: 20px;
        height: 20px;
    }
    
    .module-content {
        padding: var(--spacing-md);
    }
    
    .module-title {
        font-size: 1.125rem;
    }
    
    .module-description {
        font-size: 0.9375rem;
    }
    
    .module-features {
        gap: var(--spacing-xs);
    }
    
    .module-features li {
        font-size: 0.875rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-form {
        padding: var(--spacing-md);
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
}

/* Very small mobile devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-brand {
        font-size: 1.125rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .module-screenshot {
        height: 160px;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-stats {
        margin-top: var(--spacing-lg);
    }
    
    .nav-menu {
        height: auto;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .btn {
        min-height: 48px;
        padding: 0.875rem 2rem;
    }
    
    .nav-menu a {
        padding: var(--spacing-sm) 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .module-card:hover,
    .highlight-item:hover {
        transform: none;
    }
    
    /* Better tap highlighting */
    a, button {
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
    }
}

/* High DPI screens (Retina displays) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure images look crisp on retina displays */
    .module-screenshot img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-background,
    .cta,
    .footer {
        display: none;
    }
}
