:root {
    --primary: #0070f3;
    --primary-dark: #0051af;
    --background: #000000;
    --text: #ffffff;
    --text-muted: #888888;
    --highlight: #00dfd8;
    --card-bg: #111111;
    --border: #333333;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

header {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 0; /* Gap managed by margins */
}

.landing-container header {
    padding: 0;
    width: 100%;
    margin-bottom: 2rem;
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin-bottom: 4rem; /* Optical balance */
}

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

.logo {
	white-space: nowrap;
	user-select: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Smoothly scale logo size across breakpoints (prevents "snap" on mobile) */
    font-size: clamp(4.8rem, 10vw, 12.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    /* Baseline shift for inline SVG "O" icons (negative values move the icon DOWN) */
    --logo-icon-baseline-shift: -0.005em;
    /* Optional fine-tuning (leave unset to inherit --logo-icon-baseline-shift) */
    /* --logo-globe-baseline-shift: -0.02em; */
    --logo-robot-baseline-shift: -0.05em;
}

.logo-text {
    display: inline-block;
}

.globe-o {
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    margin: 0em 0.005em;
    /* Edge color (outer ring + any elements using currentColor) */
    color: var(--primary);
    vertical-align: var(--logo-globe-baseline-shift, var(--logo-icon-baseline-shift));
    /* Gridline color (interior spinning lines) */
    --globe-grid: var(--primary);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
    .globe-o {
        --globe-grid: var(--primary);
    }
}

.globe-o .lat,
.globe-o .long-spin {
    stroke: var(--globe-grid);
}

.robot-o {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin: 0 -0.04em;
    color: var(--highlight);
    vertical-align: var(--logo-robot-baseline-shift, var(--logo-icon-baseline-shift));
    /* Change this to make the robot's outer rounded-square outline thicker/thinner */
    --robot-outline-stroke-width: 9px;
}

.robot-o rect {
    stroke-width: var(--robot-outline-stroke-width);
}

.long-spin {
    vector-effect: non-scaling-stroke;
}

.globe-o svg, .robot-o svg {
    width: 100%;
    height: 100%;
}

/* If the globe ring radius exceeds the SVG viewBox (e.g. r>50), avoid clipping */
.globe-o svg {
    overflow: visible;
}

.eye-socket {
    fill: currentColor;
    stroke: none;
}

.pupil {
    fill: var(--background);
}

.robot-eye-left {
    transform-origin: 37px 50px;
    animation: blink 8s infinite;
}

.robot-eye-right {
    transform-origin: 63px 50px;
    animation: blink 8s infinite;
}

.robot-eye-wink {
    transform-origin: 63px 50px;
}

@keyframes wink {
    0%, 2%, 100% {
        transform: scaleY(1);
    }
    1% {
        transform: scaleY(0.1);
    }
}

@keyframes blink {
    0%, 3%, 100% {
        transform: scaleY(1);
    }
    1.5% {
        transform: scaleY(0.1);
    }
}

.mouth-smile {
    transition: opacity 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: 50% 75%;
}

.mouth-surprised {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: 50% 75%;
    transition: opacity 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.robot-o:hover .mouth-smile {
    opacity: 0;
    transform: scale(0.5);
}

.robot-o:hover .mouth-surprised {
    opacity: 1;
    transform: scale(1);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 2rem 0 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.deepl-mud {
    color: #0c65a9; /* DeepL Navy Blue */
    text-shadow: 0 0 20px rgba(4, 43, 72, 0.5); /* Slight glow for visibility on black */
}

.logo-glot {
    color: var(--primary);
}

.logo-bots {
    color: var(--highlight);
}

.logo-highlight {
    background: linear-gradient(to right, var(--primary), var(--highlight));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    background-color: var(--text);
    color: var(--background);
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--highlight);
}

.cta-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-right: 0.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
}

.sass-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--background) 0%, #0a0a0a 100%);
    border-radius: 2rem;
    border: 1px solid var(--border);
    margin: 4rem 0;
}

h2 {
	text-align: center;
}

h3 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	letter-spacing: -1px;
	text-align: center;
}

h4 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.sass-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.sass-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
	padding: 6rem 0;
}

footer {
	margin-top: 6rem;
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.content-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    letter-spacing: -2px;
}

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

.list-item {
    margin-bottom: 2rem;
}

.list-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.list-item p {
    color: var(--text-muted);
}

.testimonial {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 1.5rem;
    border-left: 4px solid var(--highlight);
    margin: 2rem 0;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-muted);
}

.about-founder {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
}

.about-founder .content {
    flex: 1;
}

.about-founder h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }

    .grid-2, .about-founder {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }
}
