/* --- Reset & Base Variables --- */
:root {
    --bg-main: #0b0f19;
    --bg-alt: #111827;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(17, 24, 39, 0.7);
    --font-outfit: 'Outfit', sans-serif;
    --grad-indigo: linear-gradient(135deg, #10b981 0%, #6366f1 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-outfit);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout Container --- */
.nav-container,
.hero-container,
.section-container,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.accent-text {
    background: var(--grad-indigo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

.nav-links .nav-btn-primary {
    background: var(--grad-indigo);
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.nav-links .nav-btn-primary:hover {
    opacity: 0.9;
}

.nav-links .nav-btn-secondary {
    border: 1px solid var(--border-glass);
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.12) 0%, rgba(11, 15, 25, 0) 60%);
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin: 0 auto 24px;
    background: linear-gradient(180deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.btn-primary {
    background: var(--grad-indigo);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-glass);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid var(--border-glass);
    transition: background 0.3s ease;
}

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

/* --- Hero Mockup Visual --- */
.mockup-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 70%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.mockup-frame {
    position: relative;
    z-index: 2;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.mockup-header {
    background: rgba(0,0,0,0.2);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.mockup-url {
    margin-left: 24px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: rgba(255,255,255,0.05);
    padding: 4px 16px;
    border-radius: 100px;
}

.mockup-content {
    display: flex;
    height: 380px;
}

.sim-sidebar {
    width: 60px;
    background-color: rgba(0,0,0,0.1);
    border-right: 1px solid var(--border-glass);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sim-logo {
    width: 24px;
    height: 24px;
    background: var(--grad-indigo);
    border-radius: 6px;
    margin-bottom: 16px;
}

.sim-item {
    width: 24px;
    height: 24px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 6px;
}

.sim-item.active {
    background-color: var(--accent);
}

.sim-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sim-row {
    display: flex;
    gap: 24px;
}

.sim-card {
    flex: 1;
    height: 120px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 16px;
}

.sim-card.wide {
    flex: 2;
}

.sim-card.square {
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-line {
    height: 10px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-bottom: 12px;
}

.sim-line.title {
    width: 40%;
    background-color: var(--text-secondary);
}

.sim-line.short {
    width: 70%;
}

.sim-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid var(--accent);
}

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

.features-section.bg-alt {
    background-color: var(--bg-alt);
}

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

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

.gradient-text {
    background: var(--grad-indigo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 40px 32px;
    border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon.bg-blue { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.feature-icon.bg-green { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.feature-icon.bg-purple { background-color: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.feature-icon.bg-emerald { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.feature-icon.bg-amber { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.feature-icon.bg-rose { background-color: rgba(244, 63, 94, 0.1); color: #f43f5e; }

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

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

/* --- Pricing Section --- */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.price-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 48px 36px;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
}

.price-card.popular {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08) 0%, rgba(17, 24, 39, 0.7) 60%);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.1);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 36px;
    background: var(--grad-indigo);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.price span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 32px;
    height: 40px;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border-glass);
    margin-bottom: 32px;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.price-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.btn-price-primary {
    display: block;
    text-align: center;
    background: rgba(255,255,255,0.05);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid var(--border-glass);
    transition: background 0.3s ease;
}

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

.btn-price-popular {
    display: block;
    text-align: center;
    background: var(--grad-indigo);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.btn-price-popular:hover {
    opacity: 0.95;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    background-color: var(--bg-alt);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* --- Responsive Adaptations --- */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Simplifies layout for demonstration */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .mockup-content {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
