/* =========================================================================
   Nakamoto Partners - Premium CSS
   ========================================================================= */

:root {
    --bg-main: #06090e;
    --bg-alt: #0b111a;
    --bg-card: #131a28;
    --border-color: rgba(255,255,255,0.05);
    
    --primary: #00ff9d; /* Electric green/battery vibe */
    --primary-glow: rgba(0, 255, 157, 0.4);
    --secondary: #0088ff;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo, .badge {
    font-family: var(--font-heading);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

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

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

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

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

/* ================== Navbar ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 9, 14, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

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

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* ================== Buttons ================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.w-100 {
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6,9,14,0.3) 0%, var(--bg-main) 100%),
                url('../images/hero.png') center/cover no-repeat;
    z-index: -1;
    opacity: 0.7;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--primary);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ================== About Section ================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--text-main);
}

.company-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.visual-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.glow-orb {
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(80px);
    border-radius: 50%;
    position: absolute;
    top: -100px;
    left: -100px;
    opacity: 0.2;
}

.visual-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.visual-box p {
    color: var(--text-muted);
}

/* ================== Products Section ================== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}

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

.img-overlay {
    position: absolute;
    top: 0;
    left:0;
    width:100%;
    height:100%;
    background: linear-gradient(to right, rgba(19, 26, 40, 0) 50%, var(--bg-card) 100%);
}

.product-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.features-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* ================== Contact Section ================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 2rem;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.company-legal-info {
    margin-top: 40px;
    padding: 25px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.02);
    border-left: 3px solid var(--primary);
}

.company-legal-info p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.company-legal-info strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 15px;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

/* ================== Footer ================== */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================== Modal (Privacy & Terms) ================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 9, 14, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--text-muted);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    padding: 50px;
}

.modal-body h2 {
    margin-bottom: 10px;
    color: var(--primary);
}

.modal-body > p:first-of-type {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.modal-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ================== Responsive ================== */
@media (max-width: 992px) {
    .about-container, 
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        grid-template-columns: 1fr;
    }
    
    .product-img-wrapper {
        min-height: 300px;
    }
    
    .img-overlay {
        background: linear-gradient(to bottom, rgba(19, 26, 40, 0) 50%, var(--bg-card) 100%);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}
