/* ========= GLOBAL ========= */

:root {
    --primary-color: #2100ee;
    --secondary-color: #131968;
    --accent-color: #cbff1a;
    --green-color: #00d966;
    --primary-gradient: linear-gradient(90deg, #2100ee, #00d966);
    --primary-gradient-135: linear-gradient(135deg, #2100ee 0%, #131968 100%);
    --primary-gradient-inv: linear-gradient(135deg, #5500ff 0%, #2100ee 100%);
    --dark-blue: #1e3a8a;
    --text-primary: #2c3e50;
    --text-secondary: #4b5563;
    --text-light: #a0a0b0;
    --border-light: rgba(33, 0, 238, 0.1);
    --border-medium: rgba(33, 0, 238, 0.15);
    --shadow-sm: 0 8px 24px rgba(33, 0, 238, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes circuitFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes techPulse {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 10px rgba(33, 0, 238, 0.3), inset 0 0 10px rgba(33, 0, 238, 0.1);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(33, 0, 238, 0.6), inset 0 0 20px rgba(33, 0, 238, 0.3);
    }
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%);
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(33, 0, 238, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(19, 25, 104, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 100% 10%, rgba(0, 217, 102, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

section {
    padding: 100px 10%;
    position: relative;
    z-index: 1;
}

/* ========= HEADER ========= */

header {
    position: fixed;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(240, 245, 255, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(33, 0, 238, 0.15);
    box-shadow: 0 8px 32px 0 rgba(33, 0, 238, 0.1);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(33, 0, 238, 0.2));
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #2100ee, #131968);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 2px;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #cbff1a, #2100ee);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #2100ee;
    text-shadow: 0 2px 6px rgba(33, 0, 238, 0.2);
}

nav a:hover::before {
    width: 100%;
}

/* ========= HERO ========= */

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 25px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(30, 58, 138, 0.08) 0%, transparent 70%);
    padding: 0 !important;
    margin: 0 !important;
}

/* ========= NEWS & STORIES ========= */

.news-stories {
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(33, 0, 238, 0.04) 50%, transparent 100%);
    padding-top: 40px !important;
}

.news-stories h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: slideInLeft 0.6s ease-out;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(33, 0, 238, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.story-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stories-grid .story-card:nth-child(1).animate-in { animation-delay: 0.1s; }
.stories-grid .story-card:nth-child(2).animate-in { animation-delay: 0.2s; }
.stories-grid .story-card:nth-child(3).animate-in { animation-delay: 0.3s; }

.story-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(33, 0, 238, 0.1) 0%, rgba(203, 255, 26, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(33, 0, 238, 0.2);
    object-fit: cover;
}

.story-card:hover {
    transform: translateY(-8px);
    border-color: rgba(203, 255, 26, 0.3);
    box-shadow: 0 15px 40px 0 rgba(33, 0, 238, 0.15), 0 0 12px rgba(203, 255, 26, 0.15);
}

.story-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2100ee;
}

.story-card p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ========= SERVICES MODAL ========= */

.hero h1 {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 2px;
    visibility: visible;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero p {
    max-width: 600px;
    color: #4b5563;
    z-index: 2;
    font-size: 1.1rem;
    line-height: 1.6;
    visibility: visible;
    display: block;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 16px 45px;
    background: var(--primary-gradient-135);
    border: 2px solid #2100ee;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.8s ease-out 0.3s backwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(203, 255, 26, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: linear-gradient(135deg, #cbff1a 0%, #6ba819 100%);
    border-color: #cbff1a;
    color: #131968;
    box-shadow: 0 8px 24px rgba(203, 255, 26, 0.4), 0 0 15px rgba(203, 255, 26, 0.4);
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(203, 255, 26, 0.4);
}

/* ========= SERVICES MODAL ========= */

.services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-overlay:target {
    display: flex;
    opacity: 1;
}

.services-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 50px 40px 40px;
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #1e3a8a;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #ee0000;
    transform: rotate(90deg);
    text-shadow: 0 0 10px rgba(238, 0, 0, 0.3);
}

.services-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #ee0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.services-window .services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.services-window .card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 30px;
    border: 1px solid rgba(203, 255, 26, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(203, 255, 26, 0.05);
}

.services-window .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(203, 255, 26, 0.2), transparent);
    transition: left 0.6s ease;
}

.services-window .card:hover::before {
    left: 100%;
}

.services-window .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px 0 rgba(30, 58, 138, 0.15), 0 0 12px rgba(203, 255, 26, 0.15);
    border-color: rgba(203, 255, 26, 0.3);
}

/* Scrollbar styling for modal */
.services-window::-webkit-scrollbar {
    width: 8px;
}

.services-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.05);
    border-radius: 10px;
}

.services-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.services-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= ABOUT MODAL ========= */

.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-overlay:target {
    display: flex;
    opacity: 1;
}

.about-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 50px;
    width: 90%;
    max-height: 85vh;
    max-width: 800px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #ee0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.about-window h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2100ee;
}

.about-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-content p {
    margin-bottom: 20px;
}

.founders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(33, 0, 238, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(33, 0, 238, 0.1);
}

.founder {
    text-align: center;
}

.founder-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 15px;
    object-fit: cover;
    border: 2px solid rgba(33, 0, 238, 0.2);
}

.founder p {
    margin: 5px 0;
}

.founder p:first-child {
    font-weight: 600;
    color: #2100ee;
}

.founder p:last-child {
    font-size: 0.9rem;
    color: #4b5563;
}

.resource-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.resource-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(33, 0, 238, 0.1) 0%, rgba(0, 217, 102, 0.1) 100%);
    border: 2px solid rgba(33, 0, 238, 0.3);
    border-radius: 8px;
    color: #2100ee;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.resource-btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2100ee 0%, #00d966 100%);
    transition: right 0.3s ease;
    z-index: -1;
}

.resource-btn:hover::after {
    right: 0;
}

.resource-btn:hover {
    background: linear-gradient(135deg, #2100ee 0%, #00d966 100%);
    border-color: #2100ee;
    color: white;
    box-shadow: 0 8px 16px rgba(33, 0, 238, 0.3);
    transform: translateY(-2px);
}

.about-window::-webkit-scrollbar {
    width: 10px;
}

.about-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.1);
    border-radius: 10px;
}

.about-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.about-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= CONTACT ========= */

#contact {
    background: linear-gradient(180deg, transparent 0%, rgba(100, 50, 155, 0.04) 50%, transparent 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, transparent 0px, transparent 50px, rgba(33, 0, 238, 0.03) 50px, rgba(33, 0, 238, 0.03) 51px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 50px, rgba(33, 0, 238, 0.03) 50px, rgba(33, 0, 238, 0.03) 51px);
    animation: circuitFlow 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

#contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(33, 0, 238, 0.15) 0%, transparent 15%),
        radial-gradient(circle at 80% 70%, rgba(33, 0, 238, 0.15) 0%, transparent 15%),
        radial-gradient(circle at 50% 50%, rgba(33, 0, 238, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 30% 80%, rgba(33, 0, 238, 0.12) 0%, transparent 15%),
        radial-gradient(circle at 70% 20%, rgba(33, 0, 238, 0.12) 0%, transparent 15%);
    animation: techPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    z-index: 10;
}

#contact p {
    font-size: 1.1rem;
    color: #4b5563;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: inline-block;
    min-width: 300px;
    border: 1px solid rgba(33, 0, 238, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

#contact p:hover {
    border-color: rgba(203, 255, 26, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1), 0 0 12px rgba(203, 255, 26, 0.15);
}

/* ========= TRANSFORMATION MODAL ========= */

.transformation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transformation-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.transformation-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 1);
    border: 1px solid rgba(33, 0, 238, 0.15);
    position: relative;
    animation: slideInModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #2100ee;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-close:hover {
    color: #ee0000;
    transform: rotate(90deg);
    text-shadow: 0 0 10px rgba(238, 0, 0, 0.3);
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-header p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

.transformation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.required {
    color: #ee0000;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1.5px solid rgba(33, 0, 238, 0.2);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    color: #2c3e50;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(33, 0, 238, 0.6);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 15px rgba(33, 0, 238, 0.2), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a0b0;
}

.submit-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, #2100ee 0%, #131968 100%);
    border: 2px solid #2100ee;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(33, 0, 238, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5500ff 0%, #2100ee 100%);
    border-color: #5500ff;
    box-shadow: 0 12px 32px rgba(33, 0, 238, 0.5), 0 0 25px rgba(33, 0, 238, 0.5);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 16px rgba(33, 0, 238, 0.4);
}

.success-message {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d966 0%, #2100ee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 217, 102, 0.35);
}

.success-message h3 {
    font-size: 1.5rem;
    color: #2100ee;
    margin: 10px 0;
}

.success-message p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.close-success-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #2100ee 0%, #131968 100%);
    border: 2px solid #2100ee;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.close-success-btn:hover {
    background: linear-gradient(135deg, #5500ff 0%, #2100ee 100%);
    box-shadow: 0 8px 24px rgba(33, 0, 238, 0.35);
    transform: translateY(-2px);
}

/* Scrollbar styling for modal */
.transformation-modal::-webkit-scrollbar {
    width: 8px;
}

.transformation-modal::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.05);
    border-radius: 10px;
}

.transformation-modal::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.transformation-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= FOOTER ========= */

footer {
    text-align: center;
    padding: 60px 20px 40px;
    color: #8b92a1;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

/* ========= CANVAS ========= */

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* ========= SCROLLBAR ========= */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(245, 247, 250, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.4);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.7);
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.3);
}

/* ========= BUSINESS PROFILE MODAL ========= */

.business-profile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-profile-overlay:target {
    display: flex;
    opacity: 1;
}

.business-profile-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0;
    padding: 50px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    box-shadow: none;
    border: none;
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.business-profile-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.business-profile-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.business-profile-content h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2100ee;
}

.business-profile-content h4 {
    font-size: 1.15rem;
    margin-top: 12px;
    margin-bottom: 8px;
    color: #2100ee;
    font-weight: 600;
}

.business-profile-content p {
    margin-bottom: 15px;
}

.profile-section {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(33, 0, 238, 0.05) 0%, rgba(0, 217, 102, 0.03) 100%);
    border-radius: 8px;
}

.profile-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
    margin-top: 15px;
}

.profile-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.profile-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2100ee;
    font-weight: bold;
}

.business-profile-window::-webkit-scrollbar {
    width: 10px;
}

.business-profile-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.1);
    border-radius: 10px;
}

.business-profile-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.business-profile-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= CAPABILITY STATEMENT MODAL ========= */

.capability-statement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-statement-overlay:target {
    display: flex;
    opacity: 1;
}

.capability-statement-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0;
    padding: 50px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    box-shadow: none;
    border: none;
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.capability-statement-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.capability-statement-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.capability-statement-content h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2100ee;
}

.capability-statement-content h4 {
    font-size: 1.15rem;
    margin-top: 12px;
    margin-bottom: 8px;
    color: #2100ee;
    font-weight: 600;
}

.capability-statement-content p {
    margin-bottom: 15px;
}

.capability-statement-window::-webkit-scrollbar {
    width: 10px;
}

.capability-statement-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.1);
    border-radius: 10px;
}

.capability-statement-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.capability-statement-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= TECHNICAL CAPABILITIES MODAL ========= */

.technical-capabilities-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.technical-capabilities-overlay:target {
    display: flex;
    opacity: 1;
}

.technical-capabilities-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0;
    padding: 50px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    box-shadow: none;
    border: none;
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.technical-capabilities-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.technical-capabilities-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.technical-capabilities-content h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2100ee;
}

.technical-capabilities-content p {
    margin-bottom: 15px;
}

.technical-capabilities-window::-webkit-scrollbar {
    width: 10px;
}

.technical-capabilities-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.1);
    border-radius: 10px;
}

.technical-capabilities-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.technical-capabilities-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= PORTFOLIO MODAL ========= */

.portfolio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-overlay:target {
    display: flex;
    opacity: 1;
}

.portfolio-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    width: 90%;
    max-height: 85vh;
    max-width: 600px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.portfolio-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.portfolio-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.coming-soon-message {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2100ee;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.portfolio-window p {
    margin-bottom: 15px;
}

.portfolio-window::-webkit-scrollbar {
    width: 8px;
}

.portfolio-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.05);
    border-radius: 10px;
}

.portfolio-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.portfolio-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= LEGAL & REGULATORY MODAL ========= */

.legal-regulatory-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-regulatory-overlay:target {
    display: flex;
    opacity: 1;
}

.legal-regulatory-window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0;
    padding: 50px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    box-shadow: none;
    border: none;
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.legal-regulatory-window h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #2100ee, #00d966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.legal-regulatory-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-regulatory-content h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2100ee;
    font-weight: 600;
}

.document-container {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(33, 0, 238, 0.1);
}

.document-container:hover {
    border-color: rgba(203, 255, 26, 0.3);
    box-shadow: 0 8px 32px 0 rgba(33, 0, 238, 0.1);
}

.pdf-viewer {
    width: 100%;
    height: 600px;
    border: 1px solid rgba(33, 0, 238, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.legal-regulatory-window::-webkit-scrollbar {
    width: 10px;
}

.legal-regulatory-window::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.1);
    border-radius: 10px;
}

.legal-regulatory-window::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 10px;
}

.legal-regulatory-window::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.6);
}

/* ========= MOBILE OPTIMIZATION ========= */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 12px 3%;
    }

    .logo {
        font-size: 1.4rem;
    }

    nav a {
        margin-left: 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 80px 5%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 500px;
    }

    .btn {
        padding: 14px 35px;
        font-size: 0.9rem;
    }

    .news-stories h2 {
        font-size: 2rem;
    }

    .stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .story-card h3 {
        font-size: 1.1rem;
    }

    .story-card p {
        font-size: 0.9rem;
    }

    .transformation-modal {
        width: 90%;
        padding: 40px 30px;
    }

    .modal-header h2 {
        font-size: 1.6rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    header {
        padding: 12px 3%;
        flex-direction: row;
        justify-content: space-between;
    }

    .logo-icon {
        height: 40px;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    nav {
        display: flex;
        gap: 5px;
    }

    nav a {
        margin-left: 8px;
        font-size: 0.75rem;
        padding: 5px 8px;
        transition: all 0.3s ease;
    }

    nav a::before {
        bottom: -3px;
    }

    section {
        padding: 60px 5%;
    }

    .hero {
        height: 80vh;
        gap: 15px;
        padding: 20px 5% !important;
    }

    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .news-stories {
        padding: 40px 5% !important;
    }

    .news-stories h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        letter-spacing: 1.5px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }

    .story-card {
        padding: 20px;
        border-radius: 12px;
    }

    .story-image {
        height: 150px;
        margin-bottom: 15px;
    }

    .story-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .story-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Contact Section */
    #contact {
        padding: 40px 5% !important;
    }

    #contact h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
    }

    #contact p {
        font-size: 1rem;
        padding: 12px;
        min-width: 250px;
        max-width: 90%;
        margin: 12px auto;
        border-radius: 10px;
    }

    /* Modals */
    .services-window,
    .about-window {
        width: 95% !important;
        max-height: 90vh !important;
        padding: 30px 20px !important;
        border-radius: 16px;
    }

    .services-window h2,
    .about-window h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .services-window .services {
        grid-template-columns: 1fr;
    }

    .services-window .card {
        padding: 20px;
    }

    .about-window .founders {
        grid-template-columns: 1fr;
    }

    .close-btn {
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }

    footer {
        padding: 40px 20px 30px;
        font-size: 0.85rem;
    }

    /* Scrollbar adjustment */
    ::-webkit-scrollbar {
        width: 8px;
    }

    .transformation-modal {
        width: 95%;
        max-width: 450px;
        padding: 35px 25px;
        max-height: 85vh;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .modal-header p {
        font-size: 0.85rem;
    }

    .transformation-form {
        gap: 15px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

    .submit-btn {
        padding: 11px 24px;
        font-size: 0.85rem;
    }

    .success-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .success-message h3 {
        font-size: 1.3rem;
    }

    .success-message p {
        font-size: 0.9rem;
    }

    .close-success-btn {
        padding: 10px 24px;
        font-size: 0.8rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    header {
        padding: 10px 2%;
    }

    .logo-icon {
        height: 35px;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    nav {
        gap: 2px;
    }

    nav a {
        margin-left: 0;
        font-size: 0.65rem;
        padding: 4px 6px;
    }

    section {
        padding: 40px 4%;
    }

    .hero {
        height: 70vh;
        gap: 12px;
        padding: 15px 4% !important;
    }

    .hero h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
        line-height: 1.2;
        margin-top: 20px;
    }

    .hero p {
        font-size: 0.85rem;
        max-width: 100%;
        line-height: 1.4;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .btn:hover {
        transform: translateY(-2px);
    }

    .news-stories {
        padding: 30px 4% !important;
    }

    .news-stories h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .stories-grid {
        gap: 12px;
    }

    .story-card {
        padding: 15px;
    }

    .story-image {
        height: 120px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .story-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .story-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    #contact {
        padding: 30px 4% !important;
    }

    #contact h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    #contact p {
        font-size: 0.9rem;
        padding: 10px;
        min-width: 200px;
        max-width: 95%;
        margin: 10px auto;
    }

    #contact p:hover {
        transform: translateY(-2px);
    }

    .services-window,
    .about-window {
        width: 98% !important;
        max-height: 95vh !important;
        padding: 25px 15px !important;
        border-radius: 12px;
    }

    .services-window h2,
    .about-window h2 {
        font-size: 1.4rem;
    }

    .about-window .founder-image {
        max-width: 150px;
    }

    footer {
        padding: 30px 15px 20px;
        font-size: 0.75rem;
    }

    canvas {
        display: none;
    }

    .transformation-modal {
        width: 98%;
        max-width: 400px;
        padding: 30px 20px;
        max-height: 90vh;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        font-size: 1.8rem;
        width: 30px;
        height: 30px;
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-header p {
        font-size: 0.8rem;
    }

    .transformation-form {
        gap: 12px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.85rem;
        padding: 9px 10px;
    }

    .form-group textarea {
        rows: 4;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    .success-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .success-message h3 {
        font-size: 1.1rem;
    }

    .success-message p {
        font-size: 0.8rem;
    }

    .close-success-btn {
        padding: 9px 20px;
        font-size: 0.7rem;
    }
}