/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-primary: #09090b;
    --bg-secondary: #18181b;
    --bg-card: rgba(28, 28, 30, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --accent-glow: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%);
    --accent-rasa: linear-gradient(135deg, #ff6b6b 0%, #845ef7 100%);
    --accent-gita: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --max-width: 1100px;
}

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

html, body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Common Layout Elements */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(9, 9, 11, 0.7);
    padding: 18px 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    background: var(--accent-rasa);
    display: inline-block;
}

.logo-icon.gita {
    background: var(--accent-gita);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-rasa);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(132, 94, 247, 0.15) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.hero-app-icon:hover {
    transform: scale(1.05) rotate(2deg);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px auto;
    font-weight: 400;
}

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    background: #000;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-store-badge:hover {
    background: #111;
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Features Grid */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 48px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Premium Information */
.premium-section {
    padding: 80px 0;
    position: relative;
}

.premium-card {
    background: linear-gradient(180deg, rgba(28, 28, 30, 0.6) 0%, rgba(14, 14, 16, 0.8) 100%);
    border: 1px solid rgba(132, 94, 247, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(132, 94, 247, 0.1) 0%, rgba(9, 9, 11, 0) 60%);
    pointer-events: none;
    z-index: -1;
}

.premium-badge {
    background: var(--accent-rasa);
    color: white;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.premium-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.premium-price {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 24px;
}

.premium-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 32px auto;
    list-style: none;
}

.premium-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.premium-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6b6b;
}

/* Legal Documents & Support layout */
.doc-layout {
    max-width: 750px;
    margin: 60px auto 100px auto;
    padding: 0 24px;
}

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

.doc-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.doc-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.doc-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.doc-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.doc-content li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Support Page Accordion / Items */
.faq-container {
    margin-top: 32px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    padding: 24px;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Info block */
.contact-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 48px;
}

.contact-email {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ff6b6b;
    margin-top: 12px;
}

/* App Hub / Portal Layout */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    padding: 60px 0 100px 0;
}

@media (max-width: 768px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.app-card.rasa-card:hover {
    border-color: rgba(132, 94, 247, 0.4);
}

.app-card.gita-card:hover {
    border-color: rgba(79, 172, 254, 0.4);
}

.app-card-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.6;
    flex-grow: 1;
}

.app-card-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
    width: 100%;
    margin-bottom: 12px;
}

.app-card-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.app-card-links {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.app-card-links a:hover {
    color: var(--text-primary);
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    background: rgba(9, 9, 11, 0.5);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--text-secondary);
}

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

/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* simple mobile fallback, or we rely on full responsive layout */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
