:root {
    /* Authentic LifeKit Theme Variables */
    --primary: #0F766E;
    --primary-light: #14B8A6;
    --primary-dark: #115E59;
    
    /* Deep Teal Gradient */
    --gradient-start: var(--primary-dark);
    --gradient-end: var(--primary-light);

    /* Light Mode Palette */
    --bg-main: #F7F5F0;
    --bg-card: #FAF8F5;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: rgba(15, 118, 110, 0.15);
    --border-subtle: #E2E8F0;
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

/* --- Page 1: Split Layout --- */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Panel - Amethyst Gradient */
.left-panel {
    flex: 1;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--primary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.logo-container {
    text-align: center;
    z-index: 10;
}

.logo-container h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.logo-container p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Right Panel - Login */
.right-panel {
    flex: 1;
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow-y: auto;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.welcome-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-container h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-main);
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.phone-input {
    display: flex;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

.phone-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.country-code {
    background-color: #F1F5F9;
    padding: 16px;
    font-weight: 600;
    color: var(--text-main);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-input input {
    flex: 1;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    outline: none;
    color: var(--text-main);
    font-weight: 600;
}

.pricing-info {
    background-color: #CCFBF1; /* deepTealBg from app_colors */
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pricing-info p {
    font-size: 0.9rem;
    color: var(--primary-dark);
    line-height: 1.5;
    font-weight: 500;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

/* Removed Rules & Regulations CSS */

.footer-info {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.carriers {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.carriers span {
    background-color: white;
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* --- Page 2: Dashboard/Download Page --- */
.download-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #F7F5F0 0%, #E2E8F0 100%);
}

.top-nav {
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--primary) 100%);
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    z-index: 50;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: white;
    color: var(--text-main);
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.dropbtn:hover {
    background-color: #F8FAFC;
    border-color: var(--primary-light);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 100;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    margin-top: 8px;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--bg-main);
    color: var(--primary);
}

.dropdown-content a.text-danger {
    color: #EF4444;
}

.dropdown-content a.text-danger:hover {
    background-color: #FEF2F2;
    color: #DC2626;
}

.dropdown-content.show {
    display: block;
}

/* Dashboard Content */
.download-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero / Success Card */
.success-card {
    background: white;
    color: var(--text-main);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--primary-light);
}

.success-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.success-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.success-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--primary);
}

/* Sections */
.info-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

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

.section-title span {
    color: var(--primary);
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.f-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bg-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}

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

.feature-list {
    margin-top: 16px;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* How to Use Steps */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.step-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.step-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 700;
}

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

/* Responsive Design */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    body {
        height: auto;
        overflow: auto;
    }
    .left-panel {
        flex: none;
        padding: 60px 20px;
    }
    .logo-container h1 {
        font-size: 3rem;
    }
    .right-panel {
        overflow: visible;
        padding: 40px 20px;
    }
}
