/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-bg: #1A2332;
    --tech-blue: #4A7BA7;
    --silver: #B8C5D0;
    --light-gray: #E8EDF2;
    --white: #FFFFFF;
    --dark-blue: #0F1419;
    --accent-gradient: linear-gradient(135deg, #4A7BA7 0%, #6B9FD4 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(74, 123, 167, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.logo-text {
    color: var(--white);
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--tech-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--silver);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tech-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-gradient);
    padding: 10px 25px !important;
    border-radius: 25px;
    color: var(--white) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 123, 167, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, rgba(74, 123, 167, 0.03) 0px, transparent 1px, transparent 50px),
        repeating-linear-gradient(0deg, rgba(74, 123, 167, 0.03) 0px, transparent 1px, transparent 50px);
    animation: pulse 8s ease-in-out infinite;
}

.dna-helix {
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 123, 167, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

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

@keyframes rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 123, 167, 0.2);
    border: 1px solid var(--tech-blue);
    border-radius: 20px;
    color: var(--tech-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--silver);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

.hero-stats {
    display: flex;
    gap: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--tech-blue);
    font-family: var(--font-display);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(74, 123, 167, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 123, 167, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--tech-blue);
}

.btn-secondary:hover {
    background: var(--tech-blue);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(74, 123, 167, 0.15);
    border-radius: 15px;
    color: var(--tech-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--silver);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--dark-blue) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: rgba(74, 123, 167, 0.05);
    border: 1px solid rgba(74, 123, 167, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--tech-blue);
    box-shadow: 0 15px 40px rgba(74, 123, 167, 0.2);
}

.about-card:hover::before {
    opacity: 0.05;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.about-card h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-display);
    position: relative;
}

.about-card p {
    color: var(--silver);
    line-height: 1.8;
    position: relative;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    background: var(--dark-blue);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(74, 123, 167, 0.03);
    border: 1px solid rgba(74, 123, 167, 0.15);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent-gradient);
    transition: height 0.3s ease;
    border-radius: 20px 0 0 20px;
}

.solution-card:hover {
    background: rgba(74, 123, 167, 0.08);
    transform: translateX(5px);
}

.solution-card:hover::after {
    height: 100%;
}

.solution-number {
    font-size: 14px;
    color: var(--tech-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.solution-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.solution-card p {
    color: var(--silver);
    margin-bottom: 20px;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    color: var(--silver);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tech-blue);
    font-weight: bold;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--primary-bg) 100%);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-text .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(74, 123, 167, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(74, 123, 167, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(74, 123, 167, 0.08);
    transform: translateX(10px);
    border-color: var(--tech-blue);
}

.benefit-icon {
    font-size: 32px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.benefit-item p {
    color: var(--silver);
    line-height: 1.7;
}

.benefits-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.visual-card {
    background: rgba(74, 123, 167, 0.05);
    border: 1px solid rgba(74, 123, 167, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 123, 167, 0.2);
}

.visual-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.visual-card h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(74, 123, 167, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    animation: fillProgress 2s ease-out;
}

@keyframes fillProgress {
    from { width: 0; }
}

.progress-label {
    font-size: 14px;
    color: var(--tech-blue);
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--dark-blue);
    border-top: 1px solid rgba(74, 123, 167, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.contact-info > p {
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(74, 123, 167, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(74, 123, 167, 0.1);
    transition: all 0.3s ease;
}

.contact-detail:hover {
    background: rgba(74, 123, 167, 0.1);
    border-color: var(--tech-blue);
}

.detail-icon {
    font-size: 28px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
}

.contact-detail h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 5px;
    font-family: var(--font-display);
}

.contact-detail p {
    color: var(--tech-blue);
    font-weight: 600;
}

/* ===== FORM STYLES ===== */
.contact-form {
    background: rgba(74, 123, 167, 0.05);
    border: 1px solid rgba(74, 123, 167, 0.2);
    border-radius: 20px;
    padding: 40px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid rgba(74, 123, 167, 0.3);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-blue);
    background: rgba(26, 35, 50, 1);
    box-shadow: 0 0 0 3px rgba(74, 123, 167, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--silver);
    opacity: 0.6;
}

.form-group select {
    cursor: pointer;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-blue);
    border-top: 1px solid rgba(74, 123, 167, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--silver);
    margin-top: 15px;
    font-style: italic;
}

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

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--silver);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--tech-blue);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 123, 167, 0.1);
}

.footer-bottom p {
    color: var(--silver);
    font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 35, 50, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 40px 0;
        gap: 20px;
        border-top: 1px solid rgba(74, 123, 167, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .benefits-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
