:root {
    --bg-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    /* Orange gradient based on user feedback: #F33726 to #FD9B41 */
    --accent-gradient: linear-gradient(180deg, #F33726 -65.7%, #FD9B41 168.93%);
    --accent-hover: linear-gradient(180deg, #ff5e4d -65.7%, #ffb673 168.93%);
    --accent-glow: 0 0 20px rgba(243, 55, 38, 0.4);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

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

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(243, 55, 38, 0.2); }
    50% { box-shadow: 0 0 20px rgba(253, 155, 65, 0.5); }
    100% { box-shadow: 0 0 5px rgba(243, 55, 38, 0.2); }
}

@keyframes blob-anim {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.5; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.4; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
}

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

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

.logo svg {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 55, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 8px 25px rgba(253, 155, 65, 0.5);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 55, 38, 0.3) 0%, rgba(253, 155, 65, 0.15) 40%, transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    mix-blend-mode: screen;
    will-change: transform;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-subtitle span {
    display: inline-flex;
    align-items: center;
}

.hero-subtitle span:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    opacity: 0.3;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-phones {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    border-bottom: 1px solid var(--card-border);
}

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

.stat-card h3 {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-secondary);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 60px;
    text-align: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 55, 38, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card ul {
    margin-top: 10px;
}

.card li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.card li::before {
    content: '•';
    color: #F33726;
    margin-right: 10px;
    font-size: 1.2em;
}

/* Tech/Products Grid - Updated for "More Products" */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.product-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.product-item:hover {
    border-color: #F33726;
    background: rgba(243, 55, 38, 0.1);
    transform: translateY(-2px);
}

/* Tech Stack (Keep visually distinct from Products) */
.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-item {
    padding: 10px 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: #F33726;
    text-shadow: 0 4px 20px rgba(243, 55, 38, 0.3);
    line-height: 1;
    margin-right: 25px;
    min-width: 60px;
}

.advantage-content h4 {
    margin-bottom: 10px;
    color: #fff;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* New Process Design */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    padding-top: 40px;
}

/* Arrow connector line (desktop) */
@media (min-width: 900px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 40px; /* Aligns with circles */
        left: 50px;
        right: 50px;
        height: 2px;
        background: linear-gradient(90deg, rgba(243, 55, 38, 0.2), rgba(253, 155, 65, 0.2));
        z-index: 0;
    }
}

.process-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 16px;
    z-index: 1;
    transition: 0.3s;
}

.process-card:hover {
    border-color: #F33726;
    transform: translateY(-5px);
}

.process-number {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    border: 2px solid #F33726;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(243, 55, 38, 0.3);
}

.process-card h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}


/* Updated Contacts Section */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card h3 {
    margin-bottom: 20px;
    color: #F33726;
    font-size: 1.3rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card p, .contact-card a {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.contact-card a:hover {
    color: #fff;
}

/* Footer */
footer {
    background: #05080e;
    padding: 80px 0 40px;
    border-top: 1px solid var(--card-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #F33726;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-subtitle span:not(:last-child)::after {
        display: none;
    }

    header {
        position: relative;
        background: transparent;
        backdrop-filter: none;
        border-bottom: none;
        padding-top: 20px;
    }

    .nav-container {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-container ul {
        display: none; /* Hide menu links on mobile to save space */
    }

    /* Show only logo and CTA initially, but simplify layout */
    .nav-container .btn-primary {
        display: none; /* Hide top CTA to clear screen */
    }
    
    .hero {
        padding-top: 20px; /* Reduce padding since header isn't fixed */
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .process-grid::before {
        display: none;
    }
    
    .process-grid {
        gap: 60px; /* More space for vertical numbering */
    }
}


/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(30, 30, 30, 0.98));
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(243, 55, 38, 0.2);
    z-index: 10000;
    border-top: 2px solid rgba(243, 55, 38, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    margin: 0;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-content a {
    color: #F33726;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-content a:hover {
    color: #FD9B41;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}