/* Reset and Base Styles */
:root {
    --bg-dark: #0f1320;
    --bg-card: #1a2236;
    --bg-card-hover: #202a42;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.70);
    --accent-color: #4ecca3;
    /* Keeta Teal */
    --accent-hover: #3dbd96;
    --gradient-hero: linear-gradient(135deg, #1a2236 0%, #0f1320 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border-color: rgba(255, 255, 255, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

a {
    color: #4dabf7;
    /* Bright Blue for visibility */
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #74c0fc;
    text-decoration: underline;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(15, 19, 32, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-primary);
    font-size: 1.5em;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 50% 0%, #1a2236 0%, var(--bg-dark) 70%);
    color: var(--text-primary);
    padding: 160px 24px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5em;
    /* Bigger title */
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 24px;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25em;
    margin-bottom: 48px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #000;
    /* Black text on Teal */
    padding: 18px 48px;
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 20px rgba(78, 204, 163, 0.2);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(78, 204, 163, 0.3);
}

.btn {
    display: inline-block;
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.btn:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-color);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
}

.features h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 80px;
    color: var(--text-primary);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 48px 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 24px;
    background: rgba(78, 204, 163, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--accent-color);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.4em;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

/* Download Section */
.download {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0c14 100%);
    padding: 120px 24px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.download h2 {
    font-size: 3em;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 800;
}

.download>p:first-of-type {
    font-size: 1.25em;
    margin-bottom: 48px;
    color: var(--text-secondary);
}

.download-info {
    margin-top: 24px;
    font-size: 0.9em;
    color: var(--text-secondary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #080a0f;
    /* Even darker footer */
    color: var(--text-secondary);
    padding: 80px 24px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: #555;
    font-size: 0.9em;
}

/* Legal Pages Styling */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    min-height: auto;
}

header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

header h1 {
    color: var(--text-primary);
    font-size: 3em;
    margin-bottom: 12px;
}

.subtitle {
    color: var(--accent-color);
    font-size: 1.25em;
    font-weight: 600;
}

nav {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 12px;
}

nav a {
    color: var(--text-primary);
    font-weight: 500;
}

nav a:hover {
    background-color: rgba(78, 204, 163, 0.1);
    color: var(--accent-color);
}

h2 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 2em;
    letter-spacing: -0.5px;
}

h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 32px;
    font-size: 1.5em;
}

h4 {
    color: var(--accent-color);
}

p,
li,
label,
input,
textarea,
select {
    color: var(--text-secondary);
}

input,
textarea,
select {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 14px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(78, 204, 163, 0.1);
    outline: none;
}

.content-section {
    background-color: transparent;
    padding: 0;
    border: none;
    margin-bottom: 40px;
}

.content-section[style*="background-color"] {
    background-color: rgba(78, 204, 163, 0.05) !important;
    border-left: 4px solid var(--accent-color) !important;
    padding: 24px !important;
    border-radius: 8px;
}

.content-section[style*="background-color"] strong {
    color: var(--text-primary);
}

/* Hamburger Menu Logic for Mobile */
@media (max-width: 768px) {
    .nav-menu {
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
    }

    .hamburger span {
        background-color: var(--text-primary);
    }

    .hero h1 {
        font-size: 3em;
    }

    .container {
        padding: 24px;
        margin: 20px 16px;
        width: auto;
    }
}
