* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Animated Background */
.bg-matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00ff88;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #00ff88);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #00ff88;
    border-radius: 50px;
    color: #00ff88;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #00ff88;
    color: #000;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.terminal-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    border: 1px solid #00ff88;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #28ca42;
}

.terminal-body {
    padding: 1rem;
    font-family: 'Monaco', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
}

.terminal-line {
    opacity: 0;
    animation: typewriter 0.5s ease forwards;
}

.terminal-line:nth-child(1) {
    animation-delay: 1s;
}

.terminal-line:nth-child(2) {
    animation-delay: 2s;
}

.terminal-line:nth-child(3) {
    animation-delay: 3s;
}

.terminal-line:nth-child(4) {
    animation-delay: 4s;
}

.prompt {
    color: #00ff88;
}

.success {
    color: #00d4ff;
}

.warning {
    color: #ffa500;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.05));
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #00ff88);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #00ff88;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: #00ff88;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ff88;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.form-control::placeholder {
    color: #666;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Trust Progress Section */
.trust-section {
    padding: 2rem 0;
    background: rgba(0, 255, 136, 0.05);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.trust-headline {
    text-align: center;
    margin-bottom: 2rem;
}

.trust-headline h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.trust-headline .hand-icon {
    font-size: 2rem;
    margin: 0 0.5rem;
    animation: wave 2s ease-in-out infinite;
}

.trust-subtitle {
    font-size: 1.1rem;
    color: #00ff88;
    font-weight: 500;
}

.progress-stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    align-items: center;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
    transform: translateY(-50%);
    z-index: 1;
}

.stage {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.stage:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.stage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
}

.stage-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 45%;
    transform: translateX(-50%);
    color: #00ff88;
    animation: float 2s ease-in-out infinite;
    text-align: center;
}

/* Animations */
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes typewriter {
    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-20deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .progress-stages {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .progress-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .terminal-window {
        width: 90%;
        max-width: 350px;
    }

    .progress-stages {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stage {
        padding: 1rem;
    }

    .trust-headline h2 {
        font-size: 1.5rem;
}

/* COMPLETE MOBILE-RESPONSIVE CSS OVERHAUL */
/* Add this to replace your existing mobile CSS sections */

/* ============================================
   MOBILE-FIRST RESPONSIVE DESIGN IMPROVEMENTS
   ============================================ */

/* Base improvements for better mobile experience */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Better text rendering on mobile */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION - MOBILE OPTIMIZED
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
        backdrop-filter: blur(15px);
    }

    .nav-container {
        padding: 0;
    }

    .logo {
        font-size: 1.5rem;
        font-weight: 800;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        font-weight: 600;
    }
}

/* ============================================
   HERO SECTION - MOBILE REDESIGNED
   ============================================ */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 6rem 1rem 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-content {
        order: 1;
        padding: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        /* Better text rendering */
        text-rendering: optimizeLegibility;
    }

    .hero-content .subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        color: #c0c0c0;
        padding: 0 0.5rem;
    }

    /* Mobile-optimized stats grid */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1rem;
        background: rgba(0, 255, 136, 0.08);
        border: 1px solid rgba(0, 255, 136, 0.3);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .stat-item:hover {
        background: rgba(0, 255, 136, 0.12);
        transform: translateY(-2px);
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 800;
        color: #00ff88;
        display: block;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
        color: #b0b0b0;
        font-weight: 500;
    }

    /* CTA Button mobile optimization */
    .cta-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 25px;
        min-width: 200px;
        justify-content: center;
    }

    /* Hero visual mobile redesign */
    .hero-visual {
        order: 2;
        height: 250px;
        margin-top: 1rem;
        position: relative;
    }

    .terminal-window {
        width: 95%;
        max-width: 320px;
        height: 200px;
        font-size: 12px;
    }

    .terminal-header {
        padding: 0.4rem 0.8rem;
    }

    .terminal-body {
        padding: 0.6rem;
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .cyber-grid {
        background-size: 30px 30px;
        opacity: 0.3;
    }

    /* Scroll indicator mobile */
    .scroll-indicator {
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .scroll-indicator div:first-child {
        font-size: 1.5rem;
    }

    .scroll-indicator div:last-child {
        font-size: 0.9rem;
        margin-top: 0.3rem;
    }
}

/* ============================================
   TRUST SECTION - MOBILE OPTIMIZED
   ============================================ */
@media (max-width: 768px) {
    .trust-section {
        padding: 3rem 1rem;
    }

    .trust-headline h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .trust-headline .hand-icon {
        font-size: 1.5rem;
    }

    .progress-stages {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .progress-line {
        display: none; /* Hide on mobile for cleaner look */
    }

    .stage {
        padding: 1.2rem;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid rgba(0, 255, 136, 0.3);
        transition: all 0.3s ease;
    }

    .stage:hover {
        border-color: #00ff88;
        background: rgba(0, 255, 136, 0.05);
        transform: translateY(-3px);
    }

    .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .stage-title {
        font-size: 0.9rem;
        font-weight: 600;
    }
}

/* ============================================
   CONTACT SECTION - MOBILE REDESIGNED
   ============================================ */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }

    .contact-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    /* Contact links mobile optimization */
    .section-title > div {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center;
    }

    .section-title a {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
        border-radius: 25px !important;
        min-width: 200px;
        justify-content: center !important;
    }

    /* Form mobile optimization */
    .contact-form {
        padding: 2rem 1.5rem;
        border-radius: 12px;
        margin-top: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        font-weight: 600;
    }

    .form-control {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 2px solid rgba(0, 255, 136, 0.3);
        background: rgba(0, 0, 0, 0.6);
        transition: all 0.3s ease;
    }

    .form-control:focus {
        border-color: #00ff88;
        background: rgba(0, 0, 0, 0.8);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }

    textarea.form-control {
        height: 100px;
        resize: vertical;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 25px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
}

/* ============================================
   EXTRA SMALL SCREENS (Portrait phones)
   ============================================ */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 0.8rem 2rem;
    }

    .hero-content h1 {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .hero-content .subtitle {
        font-size: 0.95rem;
        padding: 0;
    }

    .hero-stats {
        padding: 0 0.5rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .trust-headline h2 {
        font-size: 1.2rem;
        padding: 0;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .terminal-window {
        width: 98%;
        max-width: 280px;
        height: 180px;
    }

    .terminal-body {
        font-size: 0.65rem;
        padding: 0.5rem;
    }
}

/* ============================================
   LANDSCAPE PHONES
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 4rem 1rem 2rem;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-content .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        padding: 0.6rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-visual {
        height: 180px;
    }

    .terminal-window {
        height: 150px;
    }

    .trust-section {
        padding: 2rem 1rem;
    }

    .progress-stages {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.8rem;
    }

    .stage {
        padding: 0.8rem 0.4rem;
    }

    .stage-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .stage-title {
        font-size: 0.7rem;
    }
}

/* ============================================
   TOUCH AND INTERACTION IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn-primary,
    .btn-secondary,
    .form-control,
    .stage,
    .stat-item {
        touch-action: manipulation;
    }

    /* Better hover states for touch devices */
    .btn-primary:active {
        transform: translateY(0px) scale(0.98);
    }

    .stage:active,
    .stat-item:active {
        transform: translateY(0px) scale(0.98);
    }

    /* Prevent text selection on interactive elements */
    .btn-primary,
    .stage-title,
    .stat-label,
    .logo {
        -webkit-user-select: none;
        user-select: none;
    }

    /* Better scroll behavior */
    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }
}

/* ============================================
   LOADING AND PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {
    /* Reduce matrix animation intensity on mobile */
    .bg-matrix {
        opacity: 0.05;
    }

    /* Optimize animations for mobile */
    .terminal-line {
        animation-duration: 0.3s;
    }

    .cyber-grid {
        animation-duration: 30s; /* Slower animation for better performance */
    }

    /* Reduce backdrop blur for better performance */
    .navbar {
        backdrop-filter: blur(10px);
    }

    .contact-form,
    .service-card {
        backdrop-filter: blur(5px);
    }
}
