/* Custom variables & Theme Settings */
:root {
    --bg-dark: #07070a;
    --bg-card: rgba(18, 18, 26, 0.65);
    --bg-card-hover: rgba(28, 28, 40, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --color-cyan: #06b6d4;
    --color-purple: #a855f7;
    --color-pink: #ec4899;
    --color-green: #10b981;
    --color-blue: #3b82f6;
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

/* Background Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d0d17 0%, #07070a 100%);
}

/* Common Layout Utilities */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--color-cyan) 50%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    background: rgba(7, 7, 10, 0.7);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.05em;
    display: flex;
    gap: 6px;
}

.logo-white {
    color: #ffffff;
}

.logo-accent {
    color: var(--text-muted);
}

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

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: #ffffff;
}

.lang-wrapper select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    outline: none;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
}

.lang-wrapper select:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.1);
}


/* Buttons */
.btn-primary {
    background: #ffffff;
    color: #000000;
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #000000;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.35);
}

.btn-primary-lg svg {
    transition: transform 0.2s ease;
}

.btn-primary-lg:hover svg {
    transform: translateX(4px);
}

.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary-lg:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-primary-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-full:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 24px 100px 24px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.icon-sparkle {
    width: 16px;
    height: 16px;
    color: var(--color-cyan);
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-cyan);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-sphere {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.hero-img-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-wrapper:hover .hero-image {
    transform: scale(1.03);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.service-card:hover .card-icon {
    background: #ffffff;
    border-color: #ffffff;
}

.service-card:hover .card-icon svg {
    color: #000000;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--color-green);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.text-left {
    text-align: left !important;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.step {
    display: flex;
    gap: 24px;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-muted);
    line-height: 1;
}

.step-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Cyber Box / Radar Graphic */
.cyber-box {
    background: #0c0c14;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.cyber-header {
    background: #11111c;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.cyber-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

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

.cyber-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    letter-spacing: 0.1em;
}

.cyber-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.radar-circle {
    position: relative;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.radar-circle::before, .radar-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.radar-circle::before { width: 130px; height: 130px; }
.radar-circle::after { width: 60px; height: 60px; }

.radar-sweep {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 0;
    background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.15) 0deg, transparent 90deg);
    transform-origin: bottom right;
    animation: radar-sweep-anim 4s linear infinite;
}

.radar-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px #ffffff;
    animation: blink 2s infinite;
}

.radar-dot.dot-1 { top: 40px; left: 60px; animation-delay: 0.5s; }
.radar-dot.dot-2 { top: 120px; left: 140px; animation-delay: 1.2s; }
.radar-dot.dot-3 { top: 150px; left: 70px; animation-delay: 0.8s; }

.radar-stats {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.r-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 10px;
    min-width: 90px;
}

.r-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.r-stat strong {
    font-size: 1.2rem;
    font-weight: 700;
}

.text-green { color: var(--color-green); }
.text-blue { color: var(--color-blue); }
.text-purple { color: var(--color-purple); }

/* ROI Calculator Section */
.calculator-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-values {
    display: flex;
    justify-content: flex-end;
}

.current-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    color: #ffffff;
    outline: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    cursor: pointer;
}

select option {
    background: #0c0c14;
    color: #ffffff;
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card.featured {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.05);
}

.result-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-top: 8px;
}

.result-card.featured h3 {
    color: var(--color-cyan);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Contact Section */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.detail-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.form-success-msg {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success-msg.hidden {
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--color-green);
}

.form-success-msg h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.form-success-msg p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    background: rgba(7, 7, 10, 0.9);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #ffffff;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}

@keyframes radar-sweep-anim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .calculator-box {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 10, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 30px 24px;
        gap: 24px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
