/* NeuraCreations Website Styles - Professional & Clean */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-focus: 0 0 0 2px rgba(37, 99, 235, 0.2);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Universal Responsive Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-primary);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Responsive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: clamp(0.875rem, 2vw, 1rem);
    gap: 0.5rem;
    min-height: 2.75rem;
    width: 100%;
    max-width: 20rem;
}

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

.btn-primary:hover {
    transform: translateY(-1px);
}

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

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

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

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Navigation - Mobile First */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    flex-wrap: nowrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* MOBILE NAVIGATION MENU */
.nav-menu {
    position: fixed;
    top: 4.375rem;
    left: -100%;
    width: 100vw;
    height: calc(100vh - 4.375rem);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.35s cubic-bezier(0.77,0,0.175,1);
    gap: 1.5rem;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(16,30,51,0.12);
    list-style: none;
    margin: 0;
}

@media (min-width: 768px) {
    .nav-menu {
        position: static;
        left: 0;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        gap: 1.5rem;
        box-shadow: none;
        align-items: center;
        justify-content: flex-end;
        transition: none;
        margin-left: auto;
        display: flex;
        flex-wrap: nowrap;
    }
    
    /* Handle nav-controls if present */
    .nav-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: 1rem;
    }
    
    .nav-controls .nav-toggle {
        display: none;
    }
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    transition: color 0.3s, background 0.3s;
    border-radius: 8px;
    outline: none;
    position: relative;
    display: block;
}

@media (min-width: 768px) {
    .nav-link {
        padding: 0.75rem 1rem;
        width: auto;
        text-align: center;
        font-size: 1rem;
        margin: 0;
        white-space: nowrap;
        display: inline-block;
    }
}

.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

/* MOBILE NAV TOGGLE (HAMBURGER) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
    background: none;
    border: none;
    outline: none;
}

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

.nav-toggle span {
    width: 1.5rem;
    height: 0.1875rem;
    background: var(--text-primary);
    margin: 0.1875rem 0;
    transition: 0.3s;
    border-radius: 0.125rem;
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-0.3125rem, 0.375rem);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-0.3125rem, -0.375rem);
}



/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Responsive */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
  .nav-container {
    padding-left: 0;
    padding-right: 1rem;
  }

    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-metrics {
    display: flex;
    gap: 1rem;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
}

.chart-bar {
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    flex: 1;
    min-height: 20px;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height, 100%); }
}

/* Problems Solutions Section */
.problems-solutions {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

.problem-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
}

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

.solution span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

.solution-features {
    list-style: none;
    margin: 1.5rem 0;
}

.solution-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.industry-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-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;
}

.industry-icon i {
    font-size: 2rem;
    color: white;
}

.industry-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.benefit {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* What We Do Section */
.what-we-do {
    padding: 50px 0;
    background: white;
}

.simple-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
    text-align: center;
}

.example-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.example-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.example-icon i {
    font-size: 2rem;
    color: white;
}

.simple-explanation {
    text-align: center;
    margin-top: 3rem;
}

.simple-explanation p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

/* Our Applications Section */
.our-apps {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.app-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.app-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.app-icon i {
    font-size: 2.5rem;
    color: white;
}

.app-simple-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.app-simple-features span {
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.coming-soon {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Why Section (Mission & Values) */
.why-section {
    padding: 50px 0;
    background: white;
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-statement {
    text-align: center;
    margin-bottom: 3rem;
}

.why-statement h3 {
    font-size: 1.5rem;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.promise-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.promise-section h2 {
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.promise-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promise-text {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500;
    margin: 0;
}

.location-pride {
    text-align: center;
    margin-top: 3rem;
}

.location-pride h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

/* About Section (Partner With Us) */
.about-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.join-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
    text-align: center;
}

.join-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.join-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.join-icon i {
    font-size: 2rem;
    color: white;
}

.join-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

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

/* Case Studies Section */
/* About Section */
.about {
    padding: 50px 0;
    background: var(--bg-primary);
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

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

.contact-info p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-1px);
    border-color: var(--primary-color);
}

.contact-method i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method h4 {
    margin-bottom: 0.25rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.contact-method a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-method a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-method span {
    color: #64748b;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #1e293b;
    font-size: 1.8rem;
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.simple-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.8rem;
    color: #2563eb;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

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

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #1d4ed8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

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

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:last-child {
        grid-column: 2 / 4;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Hero Visual Updates */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.simple-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px;
    transition: transform 0.3s ease;
}

.simple-feature:hover {
    transform: translateY(-2px);
}

.simple-feature i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 40px;
    text-align: center;
}

.simple-feature span {
    font-weight: 500;
    color: #1e293b;
}

/* Founder Section */
.founder-section {
    padding: 32px 0 24px 0;
    background: #f8fafc;
}

.founder-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0;
}

.founder-image {
    text-align: center;
}

.founder-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.founder-photo:hover {
    transform: translateY(-2px);
}

.founder-initials {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.founder-text {
    padding-left: 2rem;
}

.founder-intro h2 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.founder-intro h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.founder-title {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.founder-story p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.founder-story p:first-child {
    font-style: italic;
    font-size: 1.1rem;
    font-size: 1.2rem;
    color: #2563eb;
    border-left: 4px solid #2563eb;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: white;
    border-radius: 18px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    font-size: 0.92rem;
}

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

.credential i {
    color: #2563eb;
    font-size: 1rem;
}

.credential span {
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    padding: 24px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-post.compact {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.blog-post.compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.post-excerpt {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    padding: 0.8rem 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 0, 0, 0.01);
}

.post-category {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-right: 0.5rem;
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.1);
    transition: background-color 0.2s ease;
}

.blog-post:hover .post-category {
    background-color: rgba(26, 115, 232, 0.15);
}

.post-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.5rem 0;
    color: #222;
    transition: color 0.2s;
}

.blog-post:hover .post-title {
    color: #1a73e8;
}

.read-more {
    margin-top: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.post-content {
    margin-top: 0.5rem;
    padding: 0.8rem 1.2rem 1.2rem;
}

.blog-post.featured .post-content {
    display: flex;
    flex-direction: column;
}

.post-content h2,
.post-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-post.featured h2 {
    font-size: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta span {
    position: relative;
}

.post-meta span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.6rem;
    color: var(--text-light);
}

.author {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Newsletter Signup */
.newsletter-signup {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-top: 4rem;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-content p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* COMPREHENSIVE RESPONSIVE DESIGN - MOBILE FIRST */

/* Base Mobile Styles (320px and up) */
.container {
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    width: 100%;
}

/* Ensure all sections have proper mobile spacing */
section {
    padding: 60px 0;
}

/* Button improvements for mobile */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
    min-height: 44px; /* Touch target size */
    text-align: center;
}

/* Typography - Mobile First */
h1 { 
    font-size: 2rem; 
    line-height: 1.2; 
    margin-bottom: 1rem;
    font-weight: 800;
}
h2 { 
    font-size: 1.75rem; 
    line-height: 1.3; 
    margin-bottom: 0.75rem;
    font-weight: 600;
}
h3 { 
    font-size: 1.5rem; 
    line-height: 1.4; 
    margin-bottom: 0.5rem;
    font-weight: 600;
}
p { 
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation Mobile First */
.nav-container {
    padding: 0.75rem 1rem;
}

.nav-logo {
    font-size: 1.2rem;
}

.logo-img {
    height: 32px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

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

.hero-content,
.hero-visual {
    animation: fadeInUp 0.8s ease-out;
}

.problem-card,
.solution-card,
.industry-card,
.case-study-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
}

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

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-section .contact-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.legal-section .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section .contact-info a:hover {
    text-decoration: underline;
}

/* Blog Styles */
.blog-header {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.blog-header h1 {
    color: white;
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: white;
}

.blog-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-content {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.blog-post.compact {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.2rem;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
}

.blog-post.compact:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.blog-post.compact .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
    color: #64748b;
    padding: 0;
}

.blog-post.compact .post-category {
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 12px;
    padding: 0.18rem 0.7rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.blog-post.compact h3 {
    font-size: 1.18rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.blog-post.compact p {
    margin: 0 0 0.6rem 0;
    color: #475569;
    font-size: 1.01rem;
    line-height: 1.6;
}

.blog-post.compact .read-more {
    color: #2563eb;
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-post.compact .read-more:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Comprehensive Mobile Blog Styles - Higher Specificity */
@media screen and (max-width: 768px) {
    /* Container and layout fixes */
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    /* Blog header mobile optimization */
    .blog-header {
        padding: 40px 0 30px !important;
        text-align: center;
    }
    
    .blog-header h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.8rem !important;
        padding: 0 15px;
    }
    
    .blog-header p {
        font-size: 0.95rem !important;
        padding: 0 20px !important;
        line-height: 1.5;
    }
    
    /* Blog content mobile optimization */
    .blog-content {
        padding: 30px 0 !important;
    }
    
    /* Blog grid mobile fixes */
    .blog-grid {
        display: block !important;
        gap: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    /* Blog post cards mobile optimization */
    .blog-post.compact {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    
    /* Typography mobile fixes */
    .blog-post.compact h3 {
        font-size: 1.05rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .blog-post.compact p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Meta information mobile layout */
    .blog-post.compact .post-meta {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
        display: block !important;
        width: 100% !important;
    }
    
    .blog-post.compact .post-meta > * {
        display: block !important;
        margin-bottom: 5px !important;
    }
    
    .blog-post.compact .post-category {
        font-size: 0.8rem !important;
        padding: 3px 8px !important;
        display: inline-block !important;
        margin-bottom: 8px !important;
    }
    
    .blog-post.compact .read-more {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
        display: inline-block !important;
    }
    
    /* Newsletter section mobile */
    .newsletter-signup {
        padding: 20px 15px !important;
        margin: 20px 0 !important;
    }
    
    .newsletter-signup h3 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .newsletter-form {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .newsletter-form input {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .newsletter-form button {
        width: 100% !important;
    }
}

.blog-post {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.post-image {
    height: 200px;
    background: var(--gradient-secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post.featured .post-image {
    height: auto;
    min-height: 300px;
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 2rem;
}

.blog-post.featured .post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-content h2,
.post-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-post.featured h2 {
    font-size: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta span {
    position: relative;
}

.post-meta span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.6rem;
    color: var(--text-light);
}

.author {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Newsletter Signup */
.newsletter-signup {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-top: 4rem;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-content p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* COMPREHENSIVE RESPONSIVE DESIGN - MOBILE FIRST */

/* Base Mobile Styles (320px and up) */
.container {
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    width: 100%;
}

/* Ensure all sections have proper mobile spacing */
section {
    padding: 60px 0;
}

/* Button improvements for mobile */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
    min-height: 44px; /* Touch target size */
    text-align: center;
}

/* Typography - Mobile First */
h1 { 
    font-size: 2rem; 
    line-height: 1.2; 
    margin-bottom: 1rem;
    font-weight: 800;
}
h2 { 
    font-size: 1.75rem; 
    line-height: 1.3; 
    margin-bottom: 0.75rem;
    font-weight: 600;
}
h3 { 
    font-size: 1.5rem; 
    line-height: 1.4; 
    margin-bottom: 0.5rem;
    font-weight: 600;
}
p { 
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation Mobile First */
.nav-container {
    padding: 0.75rem 1rem;
}

.nav-logo {
    font-size: 1.2rem;
}

.logo-img {
    height: 32px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =================================================================
   COMPREHENSIVE RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ================================================================= */

/* Mobile Navigation */
.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 1.5rem;
    height: 0.1875rem;
    background: var(--text-primary);
    margin: 0.1875rem 0;
    transition: 0.3s;
    border-radius: 0.125rem;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-0.3125rem, 0.375rem);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-0.3125rem, -0.375rem);
}

.nav-menu {
    position: fixed;
    top: 4.375rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 4.375rem);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(0.625rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    gap: 1.5rem;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    transition: color 0.3s ease;
}

.nav-controls {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 12.5rem;
}

/* Hero Section - Mobile First */
.hero {
    padding: clamp(5rem, 15vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* =================================================================
   FOOTER STYLES - FLEX-BASED RESPONSIVE DESIGN
   ================================================================= */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  background-color: #0f1e33;
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.footer-column {
  flex: 1 1 200px;
  margin: 10px;
  min-width: 150px;
}

.footer-column h4 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
  color: #b6c2d6;
  font-size: 0.97rem;
}

.footer-column ul li a {
  color: #b6c2d6;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-column p {
  color: #b6c2d6;
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(255,255,255,0.09);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  margin-top: 18px;
  color: #b6c2d6;
  font-size: 0.93rem;
}

@media (max-width: 767px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 10px;
  }
  .footer-column {
    margin-bottom: 20px;
    min-width: 0;
    width: 100%;
  }
  .footer-bottom {
    margin-top: 10px;
    padding-top: 12px;
    font-size: 0.89rem;
  }
}


.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 100%;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    width: 100%;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2rem);
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    min-width: 5rem;
}

.stat-number {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--text-light);
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

/* Grid Layouts - Mobile First */
.problems-grid,
.solutions-grid,
.apps-grid,
.about-features,
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
}

.problem-card,
.solution-card,
.app-card,
.feature-card,
.blog-post {
    padding: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
    max-width: 100%;
}

/* Contact and Forms */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: clamp(0.75rem, 2vw, 1rem);
    width: 100%;
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.newsletter-form input {
    width: 100%;
}

/* =================================================================
   BREAKPOINT: EXTRA SMALL PHONES (< 360px)
   ================================================================= */
@media (max-width: 359px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
    
    .nav-container {
        padding: 0.5rem 0.75rem;
    }
}

/* =================================================================
   BREAKPOINT: SMALL PHONES (360px - 479px)
   ================================================================= */
@media (max-width: 479px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 4rem;
    }
}

/* =================================================================
   BREAKPOINT: PHONES (480px - 767px)
   ================================================================= */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 8rem;
    }
    
    .problems-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =================================================================
   BREAKPOINT: TABLETS (768px - 1023px)
   ================================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 45rem;
        padding: 0 2rem;
    }
    
    /* Navigation becomes horizontal */
    /* This is replaced by the media query above */
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding-top: 0;
        gap: 2rem;
        box-shadow: none;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
        width: auto;
        text-align: left;
    }
    
    .nav-controls {
        margin-top: 0;
        flex-direction: row;
        max-width: none;
    }
    
    /* Hero becomes two-column */
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    /* Grid layouts expand */
    .problems-grid,
    .solutions-grid,
    .apps-grid,
    .about-features,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .contact-content {
        flex-direction: row;
        gap: 3rem;
    }
    
    .contact-form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form textarea {
        grid-column: 1 / -1;
    }
}

/* =================================================================
   BREAKPOINT: LAPTOPS (1024px - 1439px)
   ================================================================= */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 60rem;
    }
    
    /* Three-column layouts */
    .problems-grid,
    .solutions-grid,
    .apps-grid,
    .about-features,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero {
        padding: 7.5rem 0 6rem;
    }
}

/* =================================================================
   BREAKPOINT: DESKTOPS (≥ 1440px)
   ================================================================= */
@media (min-width: 1440px) {
    .container {
        max-width: 75rem;
        padding: 0 2rem;
    }
    
    .nav-container {
        padding: 0.75rem 2rem;
    }
    
    .hero {
        padding: 8rem 0 6rem;
    }
    
    /* Maintain three-column layouts but with more spacing */
    .problems-grid,
    .solutions-grid,
    .apps-grid,
    .about-features,
    .blog-grid {
        gap: 2rem;
    }
}

/* Active navigation state */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Loading state */
body.loaded {
    opacity: 1;
}

/* Lazy loading images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}
