/**
 * Cloud Torrent Downloader - Premium Admin UI
 * Style: Clean, Light, Professional (PremiumLink)
 */

/* ============================================
   DESIGN TOKENS - LIGHT THEME (DEFAULT)
   ============================================ */

:root {
    /* Brand Colors */
    --color-primary: #00c880;
    --color-primary-dark: #00b272;
    --color-primary-light: #e6f7f2;
    --color-primary-fade: rgba(0, 200, 128, 0.1);

    /* Accent Colors */
    --color-blue: #3b82f6;
    --color-indigo: #4f46e5;
    --color-purple: #8b5cf6;
    --color-pink: #ec4899;
    --color-orange: #f97316;
    --color-red: #ef4444;

    /* Semantic Colors */
    --color-success: #00c880;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #3b82f6;

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-hover: #f1f5f9;
    --bg-border: #e2e8f0;

    /* Text */
    --text-main: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverted: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 4px 14px 0 rgba(0, 200, 128, 0.39);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Fonts */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-subtle);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-primary-dark);
}

button,
input,
select {
    font-family: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */

.navbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--bg-border);
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

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

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

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-inverted);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    border-color: var(--bg-border);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    color: var(--text-main);
    border-color: #cbd5e1;
}

.btn-danger {
    background: #fee2e2;
    color: var(--color-red);
}

.btn-danger:hover {
    background: #fecaca;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

.btn-icon {
    padding: 0.5rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-disabled {
    background: var(--bg-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
    border: 1px solid var(--bg-border);
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: var(--bg-surface);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-border);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-card.primary .stat-icon-wrapper {
    background: #e0f2fe;
    color: var(--color-blue);
}

.stat-card.success .stat-icon-wrapper {
    background: #dcfce7;
    color: var(--color-success);
}

.stat-card.warning .stat-icon-wrapper {
    background: #fef3c7;
    color: var(--color-warning);
}

.stat-card.info .stat-icon-wrapper {
    background: #f3e8ff;
    color: var(--color-purple);
}

.stat-content {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

/* ============================================
   CARDS & CONTENT
   ============================================ */

.card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: var(--space-8);
}

.card-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--bg-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fcfcfc;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.card-body {
    padding: 0;
}

/* ============================================
   FILE LIST
   ============================================ */

.file-grid {
    display: flex;
    flex-direction: column;
}

.file-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--bg-border);
    align-items: center;
    transition: background 0.2s;
}

.file-card:last-child {
    border-bottom: none;
}

.file-card:hover {
    background: var(--bg-hover);
}

.file-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    border: 1px solid var(--bg-border);
}

.file-icon.folder {
    background: #fff7ed;
    color: var(--color-orange);
    border-color: #ffedd5;
}

.file-icon.download {
    background: #e6f7f2;
    color: var(--color-success);
    border-color: #bbf7d0;
    animation: pulse 2s infinite;
}

.file-icon.file {
    background: #f0f9ff;
    color: var(--color-blue);
    border-color: #bae6fd;
}

.file-info {
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.downloading {
    background: #e6f7f2;
    color: var(--color-success-dark);
}

.badge.completed {
    background: #f0f9ff;
    color: var(--color-blue);
}

.file-stats-row {
    margin-top: var(--space-2);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    gap: var(--space-4);
}

.stat-pill {
    background: var(--bg-subtle);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid var(--bg-border);
}

/* Progress Bar */
.progress-container {
    margin-top: var(--space-2);
    max-width: 300px;
}

.progress-track {
    height: 6px;
    background: var(--bg-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-success);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

/* Countdown Badge */
.countdown-badge {
    margin-top: var(--space-2);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    max-width: fit-content;
}

.countdown-normal {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.countdown-warning {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.countdown-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    animation: pulse-countdown 2s infinite;
}

@keyframes pulse-countdown {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.file-actions {
    display: flex;
    gap: var(--space-2);
}

/* ============================================
   UTILITIES & STATES
   ============================================ */

.alert {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.alert.success {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #047857;
}

.alert.error {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
}

.alert.warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
}

.server-status {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    background: var(--bg-subtle);
    border: 1px solid var(--bg-border);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.status-online .status-dot {
    background: var(--color-success);
    box-shadow: 0 0 0 2px rgba(0, 200, 128, 0.2);
}

.status-offline .status-dot {
    background: var(--color-danger);
}

/* Responsive */
/* Responsive Design System */
@media (max-width: 768px) {

    /* Navbar: Stack content */
    .navbar-container {
        flex-direction: column;
        gap: var(--space-4);
    }

    .navbar-container>div {
        width: 100%;
        justify-content: space-between;
    }

    /* Container: Reduce padding */
    .container {
        padding: 0 var(--space-4);
    }

    .stats-grid {
        gap: var(--space-4);
        grid-template-columns: 1fr;
        /* Force 1 column on mobile */
    }

    /* File Card: Modern Mobile Layout (Icon + Info top, Actions bottom) */
    .file-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-4);
        padding: var(--space-4);
        align-items: start;
    }

    .file-icon {
        display: flex;
        /* Keep icon visible */
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .file-info {
        grid-column: 2;
        width: 100%;
    }

    .file-actions {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr;
        /* Full width buttons */
    }

    .file-actions .btn {
        width: 100%;
    }

    .card-header {
        padding: var(--space-4);
        flex-direction: column;
        gap: var(--space-4);
        align-items: flex-start;
    }

    .card-title {
        width: 100%;
        justify-content: space-between;
    }

    .card-header>div:last-child {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .lp-stats-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .content-grid {
        gap: 3rem;
    }
}

.warning-card {
    background: #fffbeb;
    border: 1px dashed #fcd34d;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    color: #92400e;
    font-size: 0.9rem;
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* Landing Page Specific (Ported from previous file to keep index.php working) */
.lp-navbar {
    padding: var(--space-4) 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--bg-border);
}

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

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}


.lp-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.lp-form-wrapper {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.lp-input-group {
    margin-bottom: 1rem;
}

.lp-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.lp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

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

.lp-hero {
    padding: var(--space-12) 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-surface), var(--bg-subtle));
}

.lp-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    text-align: center;
}

.lp-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-12) auto;
    text-align: center;
}

.lp-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    background: #f8fafc;
}

.lp-input:focus {
    outline: none;
    border-color: #00c880;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 200, 128, 0.1);
}

.lp-submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: #00c880;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.lp-submit-btn:hover {
    background: #00b272;
}

.lp-toggle-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lp-toggle-btn {
    background: none;
    border: none;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.lp-toggle-btn.active {
    background: #e6f7f2;
    color: #00c880;
}

.lp-upload-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.lp-upload-group:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.lp-file-input {
    display: none; /* Hide default input */
}

.lp-file-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.lp-file-label:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.lp-file-label .icon {
    font-size: 1.25rem;
}

.lp-file-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

.lp-service-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.lp-service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lp-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.lp-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 3rem;
}

.lp-copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Modern Content Section */
.modern-layout {
    background: #fff;
    padding: 6rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-column h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-column p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.list-column {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-subtle);
    border-radius: 12px;
    border: 1px solid var(--bg-border);
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: #eff6ff;
    border-color: #dbeafe;
}

.feature-item .icon {
    font-size: 1.5rem;
    background: #fff;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lp-cta-modern {
    margin-top: 6rem;
    background: linear-gradient(135deg, #00c880 0%, #00a86b 100%);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 200, 128, 0.25);
}

.lp-cta-modern h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.lp-cta-modern p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.lp-cta-btn-white {
    display: inline-block;
    background: white;
    color: #00c880;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
    border-radius: 99px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-cta-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    color: #00a86b;
}

/* Landing Page Mobile Responsive */
@media (max-width: 768px) {
    /* Navbar: Stack vertically on mobile */
    .lp-navbar .lp-container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .lp-navbar .lp-container > div {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Brand: Center on mobile */
    .lp-brand {
        justify-content: center;
        font-size: 1.25rem;
    }

    /* Container: Reduce padding */
    .lp-container {
        padding: 0 var(--space-4);
    }

    /* Hero: Reduce spacing */
    .lp-hero {
        padding: var(--space-8) 0;
    }

    /* Title: Smaller on mobile */
    .lp-title {
        font-size: 2rem;
        margin-bottom: var(--space-4);
    }

    /* Subtitle: Smaller text */
    .lp-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-8);
    }

    /* Form wrapper: Less padding */
    .lp-form-wrapper {
        padding: 1.5rem;
    }

    /* Stats row: Stack vertically */
    .lp-stats-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    /* Services grid: Single column */
    .lp-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CTA Modern: Smaller padding */
    .lp-cta-modern {
        padding: 3rem 1.5rem;
        margin-top: 4rem;
    }

    .lp-cta-modern h3 {
        font-size: 1.75rem;
    }

    .lp-cta-modern p {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .text-column h2 {
        font-size: 2rem;
    }

    .text-column p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .lp-title {
        font-size: 1.75rem;
    }

    .lp-brand {
        font-size: 1.1rem;
    }

    .lp-icon {
        font-size: 1.25rem;
    }

    .btn-sm {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Form elements */
    .lp-input {
        padding: 1rem;
        font-size: 1rem;
    }

    .lp-submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Footer grid: Single column */
    .lp-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}