/* ===================================
   Nalam Website - Light Theme Styles
   =================================== */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

/* ===================================
   Header & Navigation
   =================================== */

.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.brand-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* ===================================
   Wellness Notice
   =================================== */

.wellness-notice {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-bottom: 1px solid #10b981;
    padding: 0.75rem 0;
    text-align: center;
}

.wellness-notice p {
    margin: 0;
    color: #065f46;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 4rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

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

/* ===================================
   Phone Mockup
   =================================== */

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: white;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-xl);
    padding: 1rem;
    border: 8px solid #1e293b;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1e293b;
    border-radius: 1rem;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    border-radius: 2rem;
    padding: 3rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 100%;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.status-text h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.status-text p {
    color: var(--text-secondary);
}

/* ===================================
   Sections
   =================================== */

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Privacy & Permissions in How It Works */
.step-note {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f0f9ff;
    border-left: 3px solid var(--primary-color);
    border-radius: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.privacy-info {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 1rem;
    text-align: center;
}

.privacy-info h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.privacy-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.privacy-item h4 {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.privacy-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.permissions-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.permissions-section h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.permissions-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

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

.permission-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.permission-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.permission-content h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.permission-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.permission-content p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.permission-note {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.permissions-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
}

.permissions-summary p {
    color: #78350f;
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   Benefits Section
   =================================== */

.benefits {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.benefits-grid {
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.benefit-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.benefit-text h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: var(--text-secondary);
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.7;
}

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

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

.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.brand-meaning {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

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

.footer-bottom a {
    color: #cbd5e1;
    margin: 0 0.5rem;
}

/* ===================================
   Legal Pages
   =================================== */

.legal-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.legal-container {
    max-width: 900px;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.legal-container h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

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

.legal-section h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.legal-section li strong {
    color: var(--text-primary);
}

.disclaimer-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.disclaimer-box p {
    color: #78350f;
    margin-bottom: 1rem;
}

.disclaimer-box ul {
    margin-left: 1.5rem;
}

.disclaimer-box li {
    color: #78350f;
}

.agreement-box {
    background: #d1fae5;
    border-left-color: var(--accent-color);
}

.agreement-box p,
.agreement-box li {
    color: #065f46;
}

.privacy-summary {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.privacy-summary h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.summary-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.summary-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .legal-container {
        padding: 2rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.25rem;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
