/* Global Resets */
:root {
    --bg-color: #0B0F19;
    --surface-color: #151E32;
    --surface-hover: #1E2945;
    --primary-color: #00A3FF;
    --secondary-color: #00E5FF;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --gradient-main: linear-gradient(135deg, #00A3FF 0%, #00E5FF 100%);
    --glass-bg: rgba(21, 30, 50, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.honeypot {
    display: none !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

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

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
    /* Adjusted from 1.5rem to fit full name */
    color: var(--text-main);
    white-space: nowrap;
}

.logo-short {
    display: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

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

.nav-btn {
    background: var(--gradient-main);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at top right, rgba(0, 163, 255, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.05), transparent 40%);
}

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

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 10px 30px rgba(0, 163, 255, 0.3));
    animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: #000;
}

/* Features Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--surface-hover);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Feature Specifics */
.mode-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 163, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Screenshots/Visuals Container */
.visual-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16/9;
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #151E32, #1E2945);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--surface-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form */
/* Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.messenger-style {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-row {
    display: flex;
    gap: 1rem;
}

.form-control.compact {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-main);
    width: 100%;
}

.message-area {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding-bottom: 3rem;
    /* Space for buttons */
}

.form-control.compact-area {
    background: transparent;
    border: none;
    width: 100%;
    resize: none;
    padding: 1rem;
    color: var(--text-main);
    outline: none;
}

.input-actions {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.send-btn {
    color: var(--primary-color);
}

.send-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.section-surface {
    background: var(--surface-color);
}

.download-section {
    text-align: center;
}

.download-links {
    margin-bottom: 2rem;
}

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

.web-mentions a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-current {
    cursor: pointer;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    user-select: none;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-switcher.active .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--text-muted);
    font-size: 0.95em;
    text-transform: uppercase;
    transition: all 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(0, 163, 255, 0.1);
    color: var(--primary-color);
}

.recording {
    color: #ff4444 !important;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* simple native mobile menu behavior will be in js or simplified */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo-full {
        display: none;
    }

    .logo-short {
        display: block;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-logo {
        max-width: 250px;
        margin: 2rem auto;
    }

    .hero-visual {
        display: none;
    }
}