/* style.css */
:root {
    --bg-main: #09090b;
    --bg-card: #121214;
    --bg-card-hover: #18181b;
    --border-color: #27272a;
    
    --text-primary: #ffffff;
    --text-sec: #a1a1aa;
    --text-muted: #71717a;
    
    --accent-yellow: #facc15;
    --accent-yellow-hover: #eab308;
    --accent-yellow-light: #fef08a;
    
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-dark: #18181b;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.text-yellow { color: var(--accent-yellow); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-gray { color: var(--text-sec); }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }

h1, h2, h3, h4 {
    letter-spacing: -0.025em;
    font-weight: 800;
}

.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Utils */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.align-center { align-items: center; }

/* Buttons */
.btn-primary, .btn-outline, .btn-outline-green, .btn-outline-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-yellow);
    color: #09090b;
    border: 1px solid var(--accent-yellow);
}
.btn-primary:hover {
    background: var(--accent-yellow-light);
    border-color: var(--accent-yellow-light);
    transform: translateY(-2px);
    color: #09090b;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: #3f3f46;
}

.btn-outline-green {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}
.btn-outline-green:hover {
    background: rgba(16, 185, 129, 0.1);
}

.btn-outline-yellow {
    background: transparent;
    border: 1px solid var(--accent-yellow);
    color: var(--accent-yellow);
}
.btn-outline-yellow:hover {
    background: rgba(250, 204, 21, 0.1);
}

.btn-full { width: 100%; }

.btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-yellow { background: var(--accent-yellow); color: #09090b; }
.btn-dark { background: var(--accent-dark); color: #fff; border: 1px solid var(--border-color); }

.btn-text {
    font-weight: 600;
    font-size: 0.95rem;
}
.btn-text:hover {
    color: var(--text-sec);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(9, 9, 11, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 6rem 0 3rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

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

.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.3rem 1rem 0.3rem 0.3rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-sec);
}
.badge-link:hover {
    background: rgba(255,255,255,0.05);
}

.badge {
    background: var(--accent-yellow);
    color: #09090b;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-sec);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Mockup */
.hero-mockup {
    position: relative;
    perspective: 1000px;
}

.mockup-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

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

.dots {
    display: flex;
    gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.close { background: #ff5f56; }
.dot.minimize { background: #ffbd2e; }
.dot.expand { background: #27c93f; }

.mockup-header .title {
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-sec);
    font-weight: 500;
    transform: translateX(-15px);
}

.mockup-body {
    display: flex;
    height: 350px;
}

.sidebar {
    width: 25%;
    border-right: 1px solid var(--border-color);
    padding: 1rem;
    background: rgba(255,255,255,0.01);
}

.profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}
.profile i { font-size: 1.5rem; color: var(--accent-yellow); }

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.side-nav a {
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.side-nav a.active, .side-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.main-content {
    width: 75%;
    padding: 1.5rem;
}

.main-content h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }

.code-editor {
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
    overflow: hidden;
}

.code-tabs {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid var(--border-color);
}
.code-tabs span {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    color: var(--text-sec);
    cursor: pointer;
}
.code-tabs span.active {
    background: #000;
    color: #fff;
    border-top: 2px solid var(--accent-yellow);
}

pre {
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #a1a1aa;
    overflow-x: auto;
}
pre code { line-height: 1.5; }

.action-buttons-sm { display: flex; gap: 0.8rem; }

/* Features bottom */
.features-bottom {
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.f-icon i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
}

.f-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.f-text p {
    font-size: 0.9rem;
    color: var(--text-sec);
}

/* Craft section */
.craft-secure { background: rgba(255,255,255,0.01); }

.floating-cards {
    position: relative;
    height: 400px;
}

.card-float {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 250px;
    height: 180px;
    top: 20px;
    left: 20px;
    z-index: 3;
    animation-delay: 0s;
}
.card-2 {
    width: 200px;
    height: 140px;
    top: 120px;
    left: 140px;
    z-index: 2;
    animation-delay: -2s;
}
.card-3 {
    width: 220px;
    height: 150px;
    top: 220px;
    left: 60px;
    z-index: 4;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.card-float .card-header {
    background: rgba(250, 204, 21, 0.2);
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}
.card-float .dots {
    width: 8px; height: 8px; background: rgba(250, 204, 21, 0.8); border-radius: 50%;
    box-shadow: 12px 0 0 rgba(250, 204, 21, 0.8), 24px 0 0 rgba(250, 204, 21, 0.8);
}

.card-float .card-body { padding: 15px; }
.card-float .block { width: 30px; height: 30px; border-radius: 6px; background: var(--accent-yellow); margin-bottom: 10px; display: inline-block; }
.card-float .line { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 8px; }
.card-float .l-1 { width: 80%; }
.card-float .l-2 { width: 60%; }
.card-float .l-3 { width: 40%; }

.craft-content h2 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.1; }
.craft-content p { color: var(--text-sec); font-size: 1.1rem; }

/* Stats */
.border-top { border-top: 1px solid rgba(255,255,255,0.05); }

.stats-text h2 { font-size: 2.8rem; line-height: 1.2; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-number { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; color: var(--text-sec); font-weight: 500; }

/* Pricing */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-sec); font-size: 1.1rem; margin-bottom: 2rem; }

.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.toggle-checkbox { display: none; }
.toggle-label {
    display: inline-block;
    width: 50px;
    height: 26px;
    background: var(--accent-yellow);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.toggle-label::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #09090b;
    border-radius: 50%;
    top: 3px;
    left: 4px;
    transition: var(--transition);
}
.toggle-checkbox:checked + .toggle-label::after { transform: translateX(22px); }
.toggle-text { font-weight: 500; }

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }

.price-card.popular {
    border-color: var(--accent-yellow);
    background: linear-gradient(180deg, rgba(250, 204, 21, 0.05) 0%, rgba(18, 18, 20, 1) 100%);
}

.card-top { margin-bottom: 2rem; text-align: center; border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; }
.card-top h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price { font-size: 3rem; font-weight: 800; display: flex; align-items: flex-start; justify-content: center; margin-bottom: 1rem; }
.price .currency { font-size: 1.5rem; margin-top: 0.5rem; }
.price .period { font-size: 1rem; color: var(--text-sec); margin-top: 1.5rem; font-weight: 500; }
.card-top .desc { font-size: 0.9rem; color: var(--text-sec); min-height: 48px; }

.features-list { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.features-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 500; }
.features-list li i { font-size: 1.2rem; }
.features-list li.disabled { color: var(--text-muted); }

/* Responsive basics */
@media (max-width: 1024px) {
    .hero-grid, .grid-2, .features-row { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .pricing-cards { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .floating-cards { display: none; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: block; }
    .hero { padding: 4rem 0 2rem 0; }
}
