/* ========================================
   DATARIXON - Main Stylesheet
   Data · Automation · Intelligence
======================================== */

/* CSS Variables */
:root {
    --navy: #0A0F1E;
    --light-navy: #1a2332;
    --cyan: #00D4FF;
    --cyan-dark: #00A8CC;
    --dark: #050A14;
    --text-gray: #94A3B8;
    --white: #FFFFFF;
    --border-color: rgba(0, 212, 255, 0.2);
    --gradient-cyan: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
    --gradient-dark: linear-gradient(180deg, #050A14 0%, #0A0F1E 100%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-cyan);
    color: var(--dark);
}

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

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

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

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

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-cyan);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 40px;
    color: var(--dark);
}

.logo-text {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-svg {
    width: 155px;
    height: 80px;
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.02);
}

.logo-icon-group {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.footer-logo-svg {
    width: 180px;
    height: 90px;
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--gradient-cyan);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

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

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(123, 47, 190, 0.1) 0%, transparent 50%),
        var(--gradient-dark);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--navy);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.dashboard-header {
    background: var(--light-navy);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.dashboard-title {
    font-size: 13px;
    color: var(--text-gray);
}

.dashboard-content {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.stat-card {
    background: var(--light-navy);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.stat-icon.blue { 
    background: rgba(59, 130, 246, 0.1); 
    color: #3B82F6; 
}

.stat-icon.purple { 
    background: rgba(139, 92, 246, 0.1); 
    color: #8B5CF6; 
}

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

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.chart-placeholder {
    background: var(--light-navy);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    height: 120px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
}

.bar {
    flex: 1;
    background: var(--gradient-cyan);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-out infinite alternate;
}

@keyframes barGrow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    padding: 100px 0;
    background: var(--navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.15);
}

.service-card.featured {
    border-color: var(--cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, var(--dark) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gradient-cyan);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    padding: 100px 0;
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--navy);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 100px 0;
    background: var(--navy);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 212, 255, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.highlight-icon {
    color: var(--cyan);
    display: flex;
}

.highlight span {
    font-weight: 500;
    font-size: 14px;
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
}

.globe-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
}

.orbit {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-duration: 10s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--cyan);
}

.about-card-text {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ========================================
   INDUSTRIES SECTION
======================================== */
.industries {
    padding: 100px 0;
    background: var(--dark);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--navy);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.industry-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin: 0 auto 20px;
}

.industry-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, var(--navy) 50%, rgba(123, 47, 190, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    padding: 100px 0;
    background: var(--navy);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

.contact-card {
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 14px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--dark);
}

/* Contact Form */
.contact-form {
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--navy);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

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

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
}

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

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

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

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-visual {
        order: -1;
    }

    .services-grid,
    .features-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(5, 10, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .services-grid,
    .features-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

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

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .service-card,
    .feature-card,
    .industry-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}
