@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-text: #333;
    --secondary-text: #666;
    --border-color: #d1d1d1;
    --bg-color: #ffffff;
    --nav-gap: 50px;
    --brand-gap: 18px;
    --header-height: 80px;
    --brand-cyan: #00c4b5; 
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--primary-text);
    background-color: var(--bg-color);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body is at least the height of the screen */
}

h1, h2, h3, h4, .brand-name {
    font-weight: 700;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 30px;
    height: 100%;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: var(--brand-gap);
}

.logo {
    margin-top: -10px;
    height: 40px;
    width: auto;
    display: block;
}

.header-spacer {
    flex: 1;
}

.navigation {
    display: flex;
    gap: var(--nav-gap);
    font-weight: 400;
    font-size: 0.9rem;
}

main {
    flex: 1 0 auto;
}

.hero {
    margin-top: 79px;
    margin-bottom: 120px;
}

.hero-headline {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--secondary-text);
    font-weight: 400;
    max-width: 650px;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 12px;
    display: block;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.screenshot-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -115px; 
}

.product-screenshot {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.btn-primary {
    display: inline-block;
    background: #00c4b5;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
    border: none;
}

.btn-primary:hover {
    background: #00a89b;
    opacity: 1;
}

.btn-primary:active {
    transform: scale(0.98);
}

.site-footer {
    flex-shrink: 0; /* Ensures footer doesn't squash */
    padding: 60px 0 30px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.footer-column ul li a:hover {
    color: var(--brand-cyan);
    opacity: 1;
}

/* Styles for the terminal animation on index */
.terminal-window {
    width: 100%;
    max-width: 500px;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background-color: var(--brand-cyan);
    padding: 12px;
    display: flex;
    align-items: center;
    position: relative;
}

.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; background-color: rgba(0,0,0,0.2); border-radius: 50%; }
.terminal-title {
    width: 100%; text-align: center; font-size: 0.7rem;
    color: rgba(0,0,0,0.5); font-weight: 600; position: absolute; left: 0;
}
.terminal-body { padding: 25px; color: #f0f0f0; font-size: 0.9rem; }
.brand-color { color: var(--brand-cyan); }
.cursor { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Form styles for contact */
.form-group { margin-bottom: 20px; max-width: 500px; }
.form-label { font-size: 0.8rem; text-transform: uppercase; color: #666; font-weight: 600; }
input, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-top: 8px;
    font-family: inherit;
}

@media (max-width: 1024px) {
    .header-spacer { display: none; }
    .header-container { justify-content: space-between; }
    .navigation { gap: 24px; }
    .hero-headline { font-size: 3rem; }
    .content-split { grid-template-columns: 1fr; }
    .hero { margin-top: 60px; }
    .screenshot-wrap { margin-top: 0; }
    .terminal-container { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-column img { margin: 0 auto 15px; }
    .footer-column p { margin: 0 auto; }
}