/* Kouzouka - Elegant Intelligence Design */

:root {
    /* Colors - Dark & Intelligent */
    --bg-body: #121417;
    --bg-surface: #1B1E23;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --accent-color: #38BDF8;
    /* Sky Blue */
    --accent-hover: #0EA5E9;
    --line-color: #2D3748;
    --glow-color: rgba(56, 189, 248, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --trans-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-main);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing-sm);
}

.serif {
    font-style: italic;
    color: var(--accent-color);
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 60ch;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--trans-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--trans-fast);
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 20px var(--glow-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 40px var(--glow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--line-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    border-bottom: 1px solid var(--line-color);
}

.center {
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(18, 20, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.home-link {
    display: flex;
    filter: invert(1);

    align-items: center;
    padding-right: 1rem;
    border-right: 1px solid var(--line-color);
    transition: transform var(--trans-fast);
}

.home-link:hover {
    transform: scale(1.1);
}

.home-icon {
    width: 28px;
    height: auto;
    filter: invert(1);
    opacity: 0.8;
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-body) 90%);
}

.hero-content {
    text-align: center;
    z-index: 3;
    margin-top: -5vh;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 900px) {
    .concept-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.concept-text {
    z-index: 2;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.concept-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Shapes */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 20%;
    left: 20%;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: purple;
    bottom: 20%;
    right: 20%;
    animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    transition: transform var(--trans-fast), border-color var(--trans-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-body);
    /* Modern Heading */
    font-weight: 500;
}

.feature-card p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Workflows */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 900px) {
    .split-layout {
        flex-direction: row;
        align-items: center;
    }
}

.split-content {
    flex: 1;
}

.split-visual {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.situation-tabs {
    display: flex;
    margin-top: var(--spacing-md);
    gap: 1rem;
    flex-wrap: wrap;
}

.situation-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--line-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    font-family: var(--font-body);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--trans-fast);
}

.situation-btn.active,
.situation-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.browser-mockup {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 10;
    background: var(--bg-surface);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-color);
}

.workflow-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.workflow-img.active {
    opacity: 1;
}

/* CTA */
.cta-section {
    background: linear-gradient(to top, var(--bg-body), var(--bg-surface));
    border-top: none;
}

.store-link-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--line-color);
    text-decoration: none;
    transition: all 0.3s;
}

.store-link-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.visit-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--line-color);
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--bg-body);
}

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-row {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Cursor */
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    mix-blend-mode: exclusion;
}