@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #070714;
    --bg-card: rgba(15, 15, 35, 0.45);
    --bg-card-hover: rgba(25, 25, 55, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(162, 119, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #9499c3;
    --text-muted: #62678f;
    --primary: #a277ff;
    --primary-glow: rgba(162, 119, 255, 0.4);
    --secondary: #4ce3e3;
    --secondary-glow: rgba(76, 227, 227, 0.3);
    --accent-red: #ff4a5a;
    --accent-red-glow: rgba(255, 74, 90, 0.4);
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glows */
body::before, body::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

body::before {
    top: -10vw;
    right: -10vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

body::after {
    bottom: -10vw;
    left: -10vw;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

a:hover {
    color: var(--secondary);
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    background: rgba(7, 7, 20, 0.7);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-family: var(--font-header);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8553e6 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(162, 119, 255, 0.6);
    color: var(--text-primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(162, 119, 255, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 99px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #dcdcf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.app-badge-btn {
    height: 48px;
    transition: transform var(--transition-fast);
}

.app-badge-btn:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* App Showcase Container */
.showcase-container {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Interactive Device Frame */
.device-frame {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    padding: 9px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 
                0 0 0 3px #222,
                0 0 20px var(--border-glow);
    position: relative;
    overflow: hidden;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #090915;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Dynamic Island */
.dynamic-island {
    width: 95px;
    height: 25px;
    background: #000;
    border-radius: 15px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* App Top Navigation Mockup */
.app-header {
    padding: 35px 16px 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-logo {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.app-streak-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-streak-badge::before {
    content: '🔥';
}

/* App Content Area */
.app-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    scrollbar-width: none;
}
.app-body::-webkit-scrollbar {
    display: none;
}

.app-screen {
    display: none;
    animation: fadeIn 0.4s ease;
}

.app-screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab Content Stylings (Visual representations of screenshots) */
/* Screen 1: Home */
.circle-progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.circle-outer {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(162, 119, 255, 0.1) 0%, rgba(76, 227, 227, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(76, 227, 227, 0.15);
}

.circle-number {
    font-size: 3.5rem;
    font-family: var(--font-header);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.circle-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.app-pill-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-top: 12px;
    display: inline-block;
}

.app-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0;
}

.app-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
}

.app-stat-card .val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.app-stat-card .lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.app-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.app-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.app-action-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.app-action-lbl {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.panic-button-container {
    margin-top: 16px;
}

.panic-btn {
    width: 100%;
    background: linear-gradient(90deg, #ff4a5a 0%, #d62d3d 100%);
    color: white;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 74, 90, 0.3);
}

/* Screen 2: Analytics */
.analytics-header {
    margin-bottom: 12px;
}
.analytics-header h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.analytics-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rewiring-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.circular-percentage {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 3%, rgba(255, 255, 255, 0.05) 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-percentage-inner {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: #090915;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.circular-percentage-inner span {
    font-size: 0.55rem;
    color: var(--text-muted);
}

.rewiring-stats {
    flex: 1;
}

.rewiring-stat-row {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.rewiring-stat-row span {
    display: block;
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
}

.activity-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
}

.activity-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 70px;
    padding-top: 10px;
}

.activity-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 25px;
}

.bar {
    width: 14px;
    background: var(--secondary);
    border-radius: 4px;
    height: 20px;
}

.activity-bar-col:nth-child(even) .bar {
    height: 40px;
}
.activity-bar-col:nth-child(3) .bar {
    height: 10px;
}
.activity-bar-col:nth-child(5) .bar {
    height: 55px;
}

.bar-lbl {
    font-size: 0.55rem;
    color: var(--text-muted);
}

/* Screen 3: Library */
.library-soundscapes {
    margin-bottom: 16px;
}
.library-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}
.soundscape-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.soundscape-card {
    flex: 0 0 100px;
    height: 110px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
    background-size: cover;
    background-position: center;
}

.soundscape-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.soundscape-card span {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
}

.soundscape-card p {
    position: relative;
    z-index: 2;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.7);
}

.app-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.app-list-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.app-list-info {
    flex: 1;
}

.app-list-info h4 {
    font-size: 0.75rem;
    margin-bottom: 2px;
    color: #fff;
}

.app-list-info p {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* Screen 4: Challenges */
.challenge-pro-badge {
    background: rgba(162, 119, 255, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.55rem;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* Screen 5: Profile */
.profile-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.profile-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-option span {
    font-weight: 500;
    color: #fff;
}

.profile-option p {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.profile-toggle {
    width: 32px;
    height: 18px;
    background: var(--primary);
    border-radius: 99px;
    position: relative;
    cursor: pointer;
}

.profile-toggle::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    top: 2px;
    right: 2px;
    transition: 0.2s;
}

/* App Bottom Tab Navigation */
.app-nav {
    height: 55px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(9, 9, 21, 0.85);
    backdrop-filter: blur(10px);
}

.app-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.app-tab-btn.active {
    color: var(--primary);
}

.app-tab-btn span {
    font-size: 0.6rem;
    font-weight: 500;
}

.app-tab-btn i {
    font-size: 1.05rem;
}

/* Tab triggers in Hero Content */
.tab-indicator-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tab-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #dcdcf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(162, 119, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px -10px rgba(162, 119, 255, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-glow);
    border-color: var(--primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Detail Section (Trigger / Accountability) */
.detail-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.detail-image {
    background: radial-gradient(circle, rgba(76, 227, 227, 0.1) 0%, transparent 70%);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
}

.detail-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.detail-bullets {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bullet-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bullet-icon {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

/* Promo / Download Call to Action banner */
.promo-section {
    padding: 6rem 0;
}

.promo-card {
    background: linear-gradient(135deg, rgba(162, 119, 255, 0.15) 0%, rgba(76, 227, 227, 0.05) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-card h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.promo-card p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.15rem;
}

/* Disclaimers Page / Footer disclaimer box */
.disclaimer-box {
    background: rgba(255, 74, 90, 0.03);
    border: 1px solid rgba(255, 74, 90, 0.15);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 4rem;
}

.disclaimer-box h4 {
    color: var(--accent-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.disclaimer-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Legal Pages Styling (Terms / Privacy) */
.legal-layout {
    padding: 6rem 0 8rem 0;
    max-width: 800px;
    margin: 0 auto;
}

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

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

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

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

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

.legal-content h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem 0;
    color: #fff;
}

.legal-content p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2.5rem 0;
}

.legal-important {
    background: rgba(255, 74, 90, 0.05);
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.legal-important p {
    margin-bottom: 0.75rem;
}

.legal-important p:last-child {
    margin-bottom: 0;
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    background: rgba(5, 5, 15, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* Can build a simplified responsive menu later if needed */
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}
