/* 
   style.css - Drive Technology Applications Landing Page
   Aesthetics: Rich, Modern, Clean Glassmorphism & High-Quality Transitions
*/

/* --- Google Fonts & Variables --- */
:root {
    /* Fonts */
    --font-primary: 'Cairo', sans-serif;

    /* Color Palette (Light Mode Default) */
    --primary-color: #185a70;
    --primary-hover: #104253;
    --primary-light: #eef7f9;
    --primary-glow: rgba(24, 90, 112, 0.15);
    
    --accent-color: #3b9ca8;
    --accent-light: #e6f5f7;
    
    --text-main: #2b3940;
    --text-muted: #5e6e78;
    --text-white: #ffffff;
    
    --bg-main: #f8fafb;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-footer: #121e24;
    
    --border-color: rgba(24, 90, 112, 0.08);
    --border-hover: rgba(24, 90, 112, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 40px rgba(24, 90, 112, 0.08);
    --card-glow-color: radial-gradient(circle, rgba(59, 156, 168, 0.06) 0%, transparent 70%);

    /* Badges */
    --badge-primary-bg: #e5f2f5;
    --badge-primary-text: #185a70;
    --badge-success-bg: #e6f7ed;
    --badge-success-text: #1b8a5a;
    --badge-warning-bg: #fff8eb;
    --badge-warning-text: #b37300;
    --badge-info-bg: #eaf6fc;
    --badge-info-text: #0b70a3;
    --badge-indigo-bg: #edf0fd;
    --badge-indigo-text: #3f51b5;
    --badge-rose-bg: #fdf2f4;
    --badge-rose-text: #d81b60;
    --badge-cyan-bg: #e0f7fa;
    --badge-cyan-text: #00838f;
    --badge-purple-bg: #f3e5f5;
    --badge-purple-text: #6a1b9a;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
}

/* --- Dark Theme Variables --- */
.dark-theme {
    --primary-color: #31829c;
    --primary-hover: #409bb8;
    --primary-light: #162c33;
    --primary-glow: rgba(49, 130, 156, 0.25);
    
    --accent-color: #4db3bf;
    --accent-light: #18343b;
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --bg-main: #090f12;
    --bg-card: rgba(18, 30, 36, 0.7);
    --bg-footer: #060a0c;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(49, 130, 156, 0.4);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    --card-glow-color: radial-gradient(circle, rgba(49, 130, 156, 0.12) 0%, transparent 70%);

    /* Badges in Dark Mode */
    --badge-primary-bg: #102e38;
    --badge-primary-text: #6cbcd1;
    --badge-success-bg: #0c3321;
    --badge-success-text: #7cdb9c;
    --badge-warning-bg: #3d2703;
    --badge-warning-text: #f0bd62;
    --badge-info-bg: #08293d;
    --badge-info-text: #6ec4f0;
    --badge-indigo-bg: #1d1e42;
    --badge-indigo-text: #9fa8da;
    --badge-rose-bg: #420f20;
    --badge-rose-text: #f48fb1;
    --badge-cyan-bg: #00363a;
    --badge-cyan-text: #80deea;
    --badge-purple-bg: #2d1038;
    --badge-purple-text: #e040fb;
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Ambient Glowing Backgrounds --- */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity var(--transition-slow);
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(24, 90, 112, 0.12);
    top: 5%;
    left: -10%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 156, 168, 0.1);
    top: 35%;
    right: -15%;
}

.glow-3 {
    width: 350px;
    height: 350px;
    background: rgba(166, 177, 183, 0.08);
    bottom: 10%;
    left: 5%;
}

.dark-theme .glow-1 {
    background: rgba(49, 130, 156, 0.18);
}
.dark-theme .glow-2 {
    background: rgba(77, 179, 191, 0.15);
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 10px;
    border: 3px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* --- Header styling --- */
.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.dark-theme .main-header {
    background-color: rgba(9, 15, 18, 0.75);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 44px;
    width: 44px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo-area:hover .header-logo {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-card);
}

.theme-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--badge-success-bg);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(27, 138, 90, 0.1);
}

.status-indicator .dot {
    width: 8px;
    height: 8px;
    background-color: var(--badge-success-text);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.status-indicator .dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--badge-success-text);
    opacity: 0.4;
    animation: pulse 1.8s infinite;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--badge-success-text);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0 60px 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content .badge {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(24, 90, 112, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    position: relative;
    padding-right: 15px;
}

.hero-content .subtitle::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: var(--accent-color);
    border-radius: 4px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 550px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 15px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

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

.stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-num i {
    font-size: 1.4rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Search Box styling */
.search-box-container {
    width: 100%;
    max-width: 550px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

#app-search {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    transition: all var(--transition-normal);
}

#app-search:focus {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px var(--primary-glow);
    background-color: #ffffff;
}

.dark-theme #app-search:focus {
    background-color: #121e24;
}

/* Hero Logo area visual */
.hero-logo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-glow-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(8px);
    animation: float 6s ease-in-out infinite;
}

.logo-glow-wrapper::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px dashed var(--border-hover);
    animation: rotate-dashed 20s linear infinite;
}

.hero-main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes rotate-dashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Section Headers --- */
.apps-section {
    padding: 60px 0 80px 0;
    position: relative;
}

.apps-section.alt-bg {
    background-color: rgba(24, 90, 112, 0.015);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    background-color: var(--accent-light);
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

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

/* --- Grid & Cards --- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.app-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

/* Card Glow Hover effect */
.card-glow {
    position: absolute;
    inset: 0;
    background: var(--card-glow-color);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 0;
}

.app-card:hover .card-glow {
    opacity: 1;
}

.app-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.app-card:hover .app-icon-wrapper {
    transform: scale(1.08) rotate(3deg);
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.app-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.app-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

/* App categories and Badges */
.app-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.badge-primary { background-color: var(--badge-primary-bg); color: var(--badge-primary-text); }
.badge-success { background-color: var(--badge-success-bg); color: var(--badge-success-text); }
.badge-warning { background-color: var(--badge-warning-bg); color: var(--badge-warning-text); }
.badge-info { background-color: var(--badge-info-bg); color: var(--badge-info-text); }
.badge-indigo { background-color: var(--badge-indigo-bg); color: var(--badge-indigo-text); }
.badge-rose { background-color: var(--badge-rose-bg); color: var(--badge-rose-text); }
.badge-cyan { background-color: var(--badge-cyan-bg); color: var(--badge-cyan-text); }
.badge-purple { background-color: var(--badge-purple-bg); color: var(--badge-purple-text); }

.app-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.app-metadata {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 24px;
}

.app-metadata span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Buttons */
.card-action {
    position: relative;
    z-index: 1;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(24, 90, 112, 0.15);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-download:hover::before {
    transform: translateX(100%);
}

.btn-download:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 90, 112, 0.25);
}

.btn-download:active {
    transform: translateY(0);
}

/* Button Loading State Styles */
.btn-download.loading {
    background-color: var(--text-muted) !important;
    pointer-events: none;
    box-shadow: none;
}

.btn-download.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.btn-download .loader {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Professional Wave Separator --- */
.wave-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    color: rgba(24, 90, 112, 0.015);
    background-color: var(--bg-main);
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotate(180deg);
}

.divider-icon {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(24, 90, 112, 0.2);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-8px) translateX(-50%); }
    60% { transform: translateY(-4px) translateX(-50%); }
}

/* --- Toast Notification System --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 200;
    transform: translateY(120px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.toast-icon {
    color: var(--badge-success-text);
    font-size: 1.8rem;
    margin-top: 2px;
}

.toast-message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.toast-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    width: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.toast.show .toast-progress {
    animation: progress-bar 3s linear forwards;
}

@keyframes progress-bar {
    to { width: 100%; }
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-footer);
    color: #e2e8f0;
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo {
    height: 55px;
    width: 55px;
    object-fit: contain;
}

.footer-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-info p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-links h4,
.footer-disclaimer h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::before,
.footer-disclaimer h4::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-right: 8px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content .subtitle {
        padding-right: 0;
    }

    .hero-content .subtitle::before {
        display: none;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid, .search-box-container {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-disclaimer {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-logo-visual {
        display: none; /* Hide visual on smaller devices to save space */
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-disclaimer {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}
