:root {
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    /* Violet 500 */
    --accent: #ec4899;
    /* Pink 500 */
    --bg-color: #f8fafc;
    --text: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */

    /* Elegant Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --nav-glass: rgba(255, 255, 255, 0.85);

    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass Navbar */
.navbar {
    background: var(--nav-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3em;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo img {
    height: 36px;
    width: 36px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9em;
    background: var(--text);
    color: white !important;
    /* Force white text */
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: #0f172a;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    padding: 120px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3em, 6vw, 4.5em);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.35em;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 100px;
}

/* Glass Card */
.preview-card,
.feature-card,
.guide-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.preview-card {
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.typing-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 3em;
    font-weight: 800;
}

.latin {
    color: var(--text-light);
    opacity: 0.6;
}

.arrow {
    color: var(--secondary);
    opacity: 0.8;
    font-size: 0.8em;
}

.amharic {
    color: transparent;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'Noto Sans Ethiopic', sans-serif;
}

/* Features */
.section {
    padding: 120px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 80px;
    font-weight: 800;
    letter-spacing: -1px;
}

.features-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    padding: 50px 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3.5em;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.35em;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.05em;
    line-height: 1.7;
}

/* Guide */
.bg-light {
    background: transparent;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.guide-card {
    padding: 40px;
}

.guide-card h3 {
    color: var(--primary);
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    padding-bottom: 15px;
    font-size: 1.25em;
    font-weight: 700;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
}

.guide-table th {
    text-align: left;
    padding: 16px 12px;
    color: var(--text-light);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.guide-table td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: monospace;
    font-size: 1.25em;
    color: var(--text);
    font-weight: 600;
}

.guide-table tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--nav-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-light);
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info p {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 1.1em;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Hide nav links on mobile for simplicity or add hamburger later. For now, just keep install btn? Or stack them? Let's stack/hide some. */
    .hero h1 {
        font-size: 2.8em;
    }

    .footer .container {
        flex-direction: column;
        gap: 50px;
        text-align: center;
        align-items: center;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}