:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f8f8;
    --gray-200: #e8e8e8;
    --gray-300: #d0d0d0;
    --gray-400: #888888;
    --gray-500: #666666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --black: #ffffff;
    --white: #0a0a0a;
    --gray-100: #1a1a1a;
    --gray-200: #2a2a2a;
    --gray-300: #404040;
    --gray-400: #808080;
    --gray-500: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    color: var(--black);
    transition: var(--transition);
}

.logo:hover .logo-svg {
    transform: scale(1.1);
}

.logo-text {
    color: var(--black);
}

.logo-accent {
    color: var(--gray-400);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.2s; }
.hero-line:nth-child(3) { animation-delay: 0.3s; }

.hero-line.accent {
    color: var(--gray-400);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 480px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.btn {
    padding: 15px 35px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: var(--gray-200);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.grid-line:nth-child(1), .grid-line:nth-child(2) {
    width: 1px;
    height: 100%;
    top: 0;
}

.grid-line:nth-child(1) { left: 25%; animation-delay: 0.6s; }
.grid-line:nth-child(2) { left: 75%; animation-delay: 0.7s; }

.grid-line:nth-child(3), .grid-line:nth-child(4) {
    width: 100%;
    height: 1px;
    left: 0;
}

.grid-line:nth-child(3) { top: 25%; animation-delay: 0.8s; }
.grid-line:nth-child(4) { top: 75%; animation-delay: 0.9s; }

.data-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--black);
    border-radius: 50%;
    opacity: 0;
    animation: pulseIn 1.2s ease forwards, softBlink 3s ease-in-out infinite 2s;
}

.data-point:nth-child(5) { top: 25%; left: 25%; animation-delay: 1s; }
.data-point:nth-child(6) { top: 75%; left: 75%; animation-delay: 1.1s; }
.data-point:nth-child(7) { top: 50%; left: 50%; animation-delay: 1.2s; }

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--black);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-500);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 50px;
}

.stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-500);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

.tech-item {
    background: var(--black);
    color: var(--white);
    padding: 16px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.tech-item:hover {
    background: var(--gray-400);
    transform: translateY(-2px);
    z-index: 5;
}

/* Custom tooltips */
.tech-item[data-tooltip] {
    position: relative;
}

.tech-item[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 100;
    opacity: 1;
    animation: tooltipFadeIn 0.2s ease-in;
    pointer-events: none;
}

.tech-item[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--black);
    margin-bottom: -2px;
    z-index: 100;
    pointer-events: none;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.contact .section-title {
    color: var(--white);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 40px;
}

.contact-link {
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 40px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--gray-300);
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-link {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulseIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes softBlink {
    0%, 70% {
        opacity: 1;
    }
    85% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        flex-wrap: wrap;
    }
    
    .tech-stack {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .tech-item {
        padding: 12px 16px;
        font-size: 12px;
    }
}

/* Solutions Page Styles */
.solutions-hero {
    padding: 150px 0 80px;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.solutions-services {
    padding: 80px 0;
    background: var(--gray-100);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: -10px;
    margin-bottom: 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.solution-card {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 24px;
}

.solution-icon svg {
    width: 30px;
    height: 30px;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.solution-description {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.8;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-500);
}

.solution-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--black);
}

/* Hunter Products Section */
.hunter-products {
    padding: 120px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.product-card {
    background: var(--gray-100);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-card:hover {
    border-color: var(--black);
    transform: translateY(-4px);
}

.product-header {
    margin-bottom: 24px;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
}

.product-icon svg {
    width: 24px;
    height: 24px;
}

.product-header h3 {
    font-size: 1.375rem;
    margin-bottom: 4px;
}

.product-tagline {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-description {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: var(--white);
    border-radius: 20px;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
}

/* Why Choose Section */
.why-choose {
    padding: 120px 0;
    background: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.benefit-item {
    text-align: center;
}

.benefit-item h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-item p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--black);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

/* Active nav link */
.nav-link.active {
    color: var(--black);
    font-weight: 500;
}

/* Get Started Section */
.get-started {
    padding: 120px 0;
    background: var(--white);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.contact-option {
    text-align: center;
    padding: 40px;
    background: var(--gray-100);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-option h3 {
    font-size: 1.375rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-option p {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-option .btn-secondary {
    width: 100%;
    max-width: 200px;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card {
        padding: 32px;
    }
    
    .product-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-option {
        padding: 32px;
    }
}