/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

:root {
    /* Colors */
    --bitcoin-orange: #F7931A;
    --dark-bg: #0A0A0A;
    --dark-card: #111111;
    --dark-border: #222222;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-muted: #666666;
    
    /* Typography */
    --font-mono: 'DM Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-bracket {
    color: var(--bitcoin-orange);
}

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

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

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bitcoin-orange);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border-bottom: 1px solid var(--dark-border);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--bitcoin-orange);
    transform: translateX(10px);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--bitcoin-orange);
    background: rgba(247, 147, 26, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(247, 147, 26, 0.3);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--bitcoin-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.title-line {
    display: block;
}

.title-accent {
    display: block;
    color: var(--bitcoin-orange);
    font-family: var(--font-mono);
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

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

/* Bitcoin Network Visualization */
.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.15;
    pointer-events: none;
}

.bitcoin-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.network-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bitcoin-orange);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--bitcoin-orange);
    animation: nodeFloat 3s ease-in-out infinite;
}

.node-1 { top: 20%; left: 25%; animation-delay: 0s; }
.node-2 { top: 30%; right: 25%; animation-delay: 0.5s; }
.node-3 { bottom: 30%; left: 50%; animation-delay: 1s; }
.node-4 { bottom: 20%; left: 25%; animation-delay: 1.5s; }
.node-5 { bottom: 25%; right: 20%; animation-delay: 2s; }

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: var(--bitcoin-orange);
    stroke-width: 1;
    opacity: 0.3;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--bitcoin-orange);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: #ff9f2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--dark-border);
}

.btn-secondary:hover {
    border-color: var(--bitcoin-orange);
    color: var(--bitcoin-orange);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bitcoin-orange);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 0.75rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 6rem 0;
    border-top: 1px solid var(--dark-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--bitcoin-orange);
    opacity: 0.7;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--bitcoin-orange);
    transform: translateX(10px);
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bitcoin-orange);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================
   SOCIAL SECTION
   ========================================== */

.social {
    padding: 6rem 0;
    border-top: 1px solid var(--dark-border);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.social-card:hover {
    border-color: var(--bitcoin-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(247, 147, 26, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bitcoin-orange);
}

.social-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.social-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--dark-border);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   SERVICES
   ========================================== */

.services {
    padding: 6rem 0;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--dark-border);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }

.service-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    color: var(--bitcoin-orange);
    opacity: 0.3;
    font-weight: 500;
}

.service-highlight {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05), transparent);
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(247, 147, 26, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--bitcoin-orange);
}

.service-title {
    font-size: 1.75rem;
    flex: 1;
}

.service-badge {
    background: var(--bitcoin-orange);
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.service-description p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: start;
    gap: 1rem;
    color: var(--text-secondary);
}

.service-features li svg {
    width: 20px;
    height: 20px;
    color: var(--bitcoin-orange);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* ==========================================
   CONTACT
   ========================================== */

.contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.info-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-text {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(247, 147, 26, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bitcoin-orange);
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pgp-fingerprint {
    font-family: var(--font-mono);
    font-size: 0.85rem !important;
    color: var(--bitcoin-orange) !important;
}

.social-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    border-color: var(--bitcoin-orange);
    background: rgba(247, 147, 26, 0.1);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-form-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bitcoin-orange);
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
    cursor: pointer;
    accent-color: var(--bitcoin-orange);
}

.checkbox-label a {
    color: var(--bitcoin-orange);
    text-decoration: underline;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta {
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.1), transparent);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    border-top: 1px solid var(--dark-border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.pgp-link {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--bitcoin-orange);
    margin-top: 0.5rem;
    transition: var(--transition);
}

.pgp-link:hover {
    opacity: 0.8;
}

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

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--bitcoin-orange);
    transform: translateX(5px);
}

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

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 968px) {
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-accent {
        font-size: 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-accent {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .title-accent {
        font-size: 1.25rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}
