/* ==========================================================
   MAHTO SPACES - CORPORATE DESIGN SYSTEM (PREMIUM STYLE)
   ========================================================== */

:root {
    /* Color Palette - Premium Slate & Clean Grays */
    --bg-body: #ffffff;
    --bg-light: #f8fafc;        /* Slate-50 */
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;   /* Slate-100 */
    
    /* Brand Accent Colors - Sapphire Blue & Indigo Accent */
    --primary: #0F52BA;         /* Sapphire Blue */
    --primary-rgb: 15, 82, 186;
    --primary-dark: #0b3c8f;
    --accent: #10b981;          /* Emerald Success Accent */
    --accent-hover: #059669;
    --accent-light: rgba(16, 185, 129, 0.08);
    --error: #ef4444;           /* Red */
    
    /* Text Colors */
    --text-main: #0f172a;       /* Slate-900 */
    --text-muted: #475569;      /* Slate-600 */
    --text-light: #64748b;      /* Slate-500 */
    
    /* Borders & Outlines */
    --border-color: #e2e8f0;    /* Slate-200 */
    --border-hover: #cbd5e1;    /* Slate-300 */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #0f172a 30%, #475569 100%);
    --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    
    /* Shadows - Premium Elevation */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.01);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 16px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 24px 36px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 25px rgba(15, 82, 186, 0.12);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    
    /* Layout */
    --container-width: 1240px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ==========================================
   BASE & RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 82, 186, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 82, 186, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: rgba(15, 82, 186, 0.02);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

/* ==========================================
   COMMON COMPONENTS & GRID
   ========================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.text-centerbox {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

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

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(15, 82, 186, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.95rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: block;
}

/* Logo Styles */
.mahto-logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.mahto-logo-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

.mahto-logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-left: 0.6rem;
    border-left: 1.5px solid var(--border-color);
    white-space: nowrap;
}

/* Larger logo for footer */
.mahto-logo-lg {
    gap: 0.6rem;
}

.mahto-logo-lg .mahto-logo-main {
    font-size: 2.25rem;
}

.mahto-logo-lg .mahto-logo-sub {
    font-size: 0.95rem;
    padding-left: 0.75rem;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.92rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 0.25rem;
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* ==========================================
   TOP BANNER SECTION (DO NOT MODIFY IMAGE SIZE)
   ========================================== */
.top-banner {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 480px;
    overflow: hidden;
    margin-top: 70px;
    padding: 0;
}

.top-banner-image-container {
    width: 100%;
    height: 100%;
}

.top-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    overflow: hidden;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(15, 82, 186, 0.03) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-title span,
.section-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.75rem;
    color: var(--text-muted);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

/* Hero Store Buttons */
.hero-store-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.5rem;
    background: #0f172a;
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.hero-store-btn:hover {
    transform: translateY(-2px);
    background: #1e293b;
    box-shadow: var(--shadow-md);
}

.hero-store-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.hero-small-text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--border-hover);
}

.hero-large-text {
    font-size: 0.9rem;
    font-weight: 700;
}

/* ==========================================
   HOW IT WORKS (PROCESS)
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}

.step-card {
    background: #ffffff;
    padding: 3rem 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(15, 82, 186, 0.2);
}

.step-card:hover::before {
    opacity: 1;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    border: 1px solid rgba(15, 82, 186, 0.15);
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.2);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   CATEGORIES (DISCOVER SPACES)
   ========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 2rem;
}

.category-content h3 {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.clickable-title {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.clickable-title:hover {
    color: var(--primary);
}

.card-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    color: var(--primary);
}

.clickable-title:hover .card-arrow,
.category-card:hover .clickable-title .card-arrow {
    transform: translateX(4px);
}

.category-content p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ==========================================
   WHY CHOOSE US (SPLIT LAYOUT)
   ========================================== */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4.5rem;
}

.split-content {
    flex: 1.1;
}

.split-content .section-title {
    text-align: left;
}

.split-content .section-desc {
    text-align: left;
    margin-left: 0;
    margin-bottom: 2.5rem;
}

.split-image {
    flex: 0.9;
    position: relative;
}

.why-us-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-text strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 700;
}

.feature-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================
   MAHTO ECOSYSTEM
   ========================================== */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.eco-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.eco-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.eco-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.eco-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.eco-card .btn-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
}

.eco-card .btn-link:hover {
    color: var(--primary-dark);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-body);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    padding: 4.5rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 180%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.75rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.cta-box .btn-primary {
    background-color: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
    background-color: #0c0f17;
    color: #94a3b8;
    padding: 5.5rem 0 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4.5rem;
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo-link {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand .mahto-logo-main {
    color: #ffffff;
}

.footer-brand .mahto-logo-sub {
    border-left-color: rgba(255, 255, 255, 0.15);
}

.footer-brand p {
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 440px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.icon-box {
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.contact-email {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-email:hover {
    color: var(--primary);
}

/* App Download in Footer */
.app-download-section {
    margin-top: 1rem;
}

.download-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.store-buttons {
    display: flex;
    gap: 1.25rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.store-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.small-text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.large-text {
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.8;
}

.mobile-break {
    display: none;
}

.heart-beat {
    display: inline-block;
    color: #ef4444;
    animation: heartBeat 1.2s infinite alternate;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* ==========================================
   APP DOWNLOAD MODAL (REDESIGNED FOR PREMIUM)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 15, 23, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: var(--transition);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-premium);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideIn {
    from { transform: scale(0.96) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--primary);
}

.modal-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2.25rem;
    font-weight: 600;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    background: var(--bg-light);
}

.modal-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-lg);
}

.modal-card-image {
    width: 84px;
    height: 84px;
    border-radius: var(--radius-md);
    object-fit: cover;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid #ffffff;
}

.modal-card:hover .modal-card-image {
    box-shadow: var(--shadow-md);
}

.modal-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    text-align: center;
}

.modal-card-subtitle {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
}

/* ==========================================
   RESPONSIVE LAYOUTS
   ========================================== */
@media (max-width: 1024px) {
    .split-layout {
        gap: 2.5rem;
    }
    .steps-grid,
    .ecosystem-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .section-title {
        font-size: 2.15rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .split-layout {
        flex-direction: column;
        gap: 3rem;
    }
    
    .split-content .section-title,
    .split-content .section-desc {
        text-align: center;
    }
    
    .split-content .section-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .split-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    /* Hero */
    .hero {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-store-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-store-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grids */
    .steps-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 2.5rem 1.75rem;
    }
    
    .eco-card {
        padding: 2rem;
    }
    
    /* CTA */
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.85rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
    
    /* Footer */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .store-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-break {
        display: inline;
    }
}

@media (max-width: 480px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-container {
        padding: 2.5rem 1.5rem;
    }
}

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