:root {
    --bg-color: #050505;
    --text-color: #F0F0F0;
    --accent-color: #333;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

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

a:hover {
    opacity: 0.7;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
    color: #888;
}

/* Gradient Orb */
.orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

/* Manifesto Section */
.manifesto {
    padding: 10rem 0;
}

.manifesto p {
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.2;
    font-family: var(--font-display);
    color: #888;
    transition: color 0.5s ease;
}

.manifesto p:hover {
    color: var(--text-color);
}

/* Footer */
footer.container {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-link {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    color: #666;
    position: relative;
    padding-bottom: 0.5rem;
    cursor: pointer;
}

.tab-link:hover,
.tab-link.active {
    color: var(--text-color);
    opacity: 1;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.tab-link.active::after {
    width: 100%;
}

/* Products Section */
#products {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.app-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333, #111);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.app-card p {
    color: #888;
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1;
}

.app-link {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.app-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 4rem;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
}

.screenshot-gallery::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.screenshot-item {
    flex: 0 0 auto;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.screenshot-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 4px solid #222;
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-img {
    transform: translateY(-10px);
}

.screenshot-caption {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    font-family: var(--font-display);
}
