/* High-Tech Color Scheme Variables */
:root {
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --accent-color: #7c3aed;
    --accent-dark: #6d28d9;
    --success-color: #10b981;
    --warning-color: #f59e0b;

    /* Dark theme base colors */
    --bg-primary: #0a0f1c;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Border/separator colors */
    --border-color: rgba(0, 212, 255, 0.2);
    --grid-line: rgba(124, 58, 237, 0.1);

    /* Glows and effects */
    --glow-primary: 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-accent: 0 0 40px rgba(124, 58, 237, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

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

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
}

.cta-nav:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* DNA Pattern Animation */
.dna-pattern {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.dna-pattern::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 120px;
    height: 400px;
    border: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 100px 100px 0 0;
    transform: translateX(-50%) rotate(-15deg);
    animation: dnaWave 3s ease-in-out infinite;
}

.dna-pattern::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 80px;
    height: 400px;
    border: 3px solid rgba(124, 58, 237, 0.5);
    border-radius: 100px 100px 0 0;
    transform: translateX(-50%) rotate(15deg);
    animation: dnaWave 3s ease-in-out infinite reverse;
}

@keyframes dnaWave {
    0%, 100% { transform: translateX(-50%) rotate(-15deg) scaleY(1); }
    50% { transform: translateX(-50%) rotate(-15deg) scaleY(1.1); }
}

/* Sections General */
section {
    padding: 6rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technology Section */
.technology {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
    margin-left: 1.5rem;
    margin-right: 0;
}

.timeline-item:nth-child(odd)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 24px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

.tech-highlights ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-highlights li {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.tech-highlights strong {
    color: var(--primary-color);
}

/* Experience Section */
.experience {
    background: var(--bg-secondary);
}

.experience-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.checklist {
    list-style: none;
    margin: 1.5rem 0;
}

.checklist li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.checklist li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.75rem;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 1.5rem;
}

.experience-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Elshire Section */
.elshire {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.elshire-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.elshire-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 100px;
    height: 300px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 60px 60px 0 0;
    transform: translateX(-50%) rotate(-15deg);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 80px;
    height: 300px;
    border: 3px solid rgba(124, 58, 237, 0.3);
    border-radius: 60px 60px 0 0;
    transform: translateX(-50%) rotate(15deg);
}

.elshire-content h2 {
    margin-bottom: 1.5rem;
}

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

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.quality-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

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

.elshire-cta {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.elshire-cta ul {
    list-style: none;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.elshire-cta li {
    padding-left: 1.5rem;
    position: relative;
}

.elshire-cta li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.elshire-content .experience-continuation {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
}

/* Uses Section */
.uses {
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.use-case-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.use-case-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.uses-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.uses-cta h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.uses-cta p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* FAQ Section */
.faq {
    background: var(--bg-primary);
}

.faq-items {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.cta-feature {
    text-align: center;
}

.cta-feature .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cta-feature strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.cta-feature p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.arrow-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-main-cta h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-main-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

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

.footer-bottom .support-text {
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 4rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid,
    .experience-content,
    .elshire-layout,
    .qualities-grid,
    .use-cases-grid,
    .cta-features,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-marker {
        margin-left: 0;
        margin-right: 1.5rem;
    }

    .timeline-item:nth-child(odd)::before {
        content: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

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

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

    .experience-stats,
    .tech-highlights ul,
    .elshire-cta ul {
        grid-template-columns: 1fr;
    }
}

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

.hero-content h1,
.hero-subtitle,
.hero-description {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-content h1 {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-description {
    animation-delay: 0.3s;
}

.hero-buttons {
    animation-delay: 0.4s;
}

/* Scroll animations for sections */
section[id] {
    animation: fadeInUp 0.8s ease-out backwards;
}
