@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

@font-face {
    font-family: 'Nothing';
    src: url('https://fonts.cdnfonts.com/s/85371/NDOT45.woff');
}

:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ff4444; /* Vizo Red */
    --card-bg: #111111;
    --border-color: #222222;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nothing-font {
    font-family: 'Nothing', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.accent { color: var(--accent-color); }

/* Custom Background Pattern */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    perspective: 1000px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 15px 35px;
    background: var(--text-primary);
    color: var(--bg-color);
    font-weight: 800;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Nothing', sans-serif;
    font-size: 1rem;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

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

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Phone Carousel Section */
.carousel-section {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.phone-wrapper {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0;
    border: 10px solid #222;
    border-radius: 40px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    transform-style: preserve-3d;
}

.phone-wrapper.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px) rotateY(-15deg) rotateX(5deg); }
    50% { transform: translateY(-30px) rotateY(15deg) rotateX(-5deg); }
    100% { transform: translateY(0px) rotateY(-15deg) rotateX(5deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

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

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 60px;
    text-align: center;
    font-size: 0.8rem;
    color: #444;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    .hero-text {
        text-align: center;
        margin-bottom: 50px;
    }
    .hero-visual {
        justify-content: center;
    }
    .hero p {
        margin: 0 auto 2.5rem;
    }
    .btn-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 3rem; }
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .phone-wrapper {
        width: 260px;
        height: 520px;
    }
}
