:root {
    --primary: #1e40af;
    --primary-light: #eff6ff;
    --primary-dark: #1e3a8a;
    --secondary: #64748b;
    --dark: #0f172a;
    --gray-dark: #334155;
    --gray: #64748b;
    --gray-light: #f8fafc;
    --white: #ffffff;
    --accent: #059669;
    --border: #e2e8f0;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links .btn-primary {
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: 40px;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo .logo-text .brand {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    font-weight: 700;
}

.logo .logo-text .tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-links .btn-primary {
    color: white !important;
}

.nav-links .btn-primary:hover {
    color: white !important;
}

/* --- Hero --- */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-logo-side {
    flex: 0 0 280px;
}

.hero-logo-main {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
}

.hero-content-side {
    flex: 1;
}

.badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.hero-license {
    margin-bottom: 1.5rem;
}

.hero-content-side h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.hero-content-side p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* --- Sections --- */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* --- Features --- */
.features {
    background: var(--gray-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-card .icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- Advantages --- */
.advantages {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.advantages-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

.checklist li strong {
    color: var(--dark);
}

.checkmark {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.styled-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* --- Showcase --- */
.showcase {
    background: var(--gray-light);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.showcase-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

.browser-style {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* --- FAQ --- */
.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.faq-card {
    background: var(--gray-light);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.faq-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.faq-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: var(--gray-light);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* --- Hero Screenshot Section --- */
.hero-mockup-container {
    margin-top: 3rem;
}

.browser-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--gray-light);
}

.browser-bar {
    background: #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.browser-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.full-screenshot {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* --- Animations --- */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-up {
    animation: slideUp 0.8s ease-out 0.3s both;
}

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Images Responsive --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #94a3b8;
    margin-top: 1.5rem;
    font-size: 1rem;
    text-align: center;
}

.lightbox-trigger {
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.lightbox-trigger:hover {
    opacity: 0.9;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    background: var(--dark);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.footer-brand img {
    height: 36px;
    width: 36px;
}

.footer-brand .logo-text .brand {
    background: linear-gradient(135deg, #93c5fd 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-brand .logo-text .tagline {
    font-size: 0.6rem;
    color: #94a3b8;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* --- Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .feature-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid,
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-logo-side {
        flex: 0 0 200px;
    }
    
    .hero-content-side p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-content-side h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3.5rem 0;
    }

    .feature-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-content-side h1 {
        font-size: 1.85rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-mockup-container {
        margin-top: 2rem;
    }

    .full-screenshot {
        width: 100%;
        height: auto;
    }

    .styled-img,
    .browser-style {
        width: 100%;
        height: auto;
    }
}
