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

:root {
    --bg-deep: #05070a;
    --bg-card: rgba(16, 22, 32, 0.7);
    --accent-primary: #10b981;
    --accent-secondary: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
nav {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: var(--border);
    background: rgba(5, 7, 10, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.1), transparent 50%);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1;
}

.hero h1 span {
    color: var(--accent-primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    background: #10ce8d;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

/* --- Device Mockup --- */
.preview-container {
    margin-top: 80px;
    position: relative;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.preview-container img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

/* --- Features --- */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

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

.feat-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Specifications --- */
.specs {
    padding: 100px 0;
    background: rgba(16, 185, 129, 0.02);
}

.specs-content {
    max-width: 800px;
    margin: 0 auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.spec-table tr {
    border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 24px;
}

.spec-label {
    font-weight: 600;
    color: var(--accent-primary);
    width: 200px;
}

/* --- Footer --- */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: var(--border);
    color: var(--text-muted);
}

.copyright {
    font-size: 0.85rem;
}

/* --- Image Modal (Lightbox) --- */
.preview-container img, .gallery img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.preview-container img:hover, .gallery img:hover {
    transform: scale(1.02);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal.active img {
    transform: scale(1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .nav-links {
        display: none;
    }
    .cta-group {
        flex-direction: column;
    }
}
