/* ==========================================
   ARESMAX DIGITAL - AWARD-WINNING DESIGN
   ========================================== */

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

:root {
    --gold: #FFD700;
    --gold-dim: #FFC400;
    --dark: #0A0A0A;
    --dark-light: #151515;
    --dark-lighter: #1F1F1F;
    --text: #E5E5E5;
    --text-dim: #999;
    --neon-blue: #00F0FF;
    --neon-purple: #B026FF;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

/* ========== CUSTOM CURSOR ========== */
.cursor,
.cursor-follower {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    display: none;
}

@media (min-width: 769px) {
    .cursor,
    .cursor-follower {
        display: block;
    }
}

.cursor {
    background: var(--gold);
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    border: 2px solid var(--gold);
    background: transparent;
    transform: translate(-50%, -50%) scale(2);
    transition: transform 0.3s ease;
}

body:hover .cursor-follower {
    transform: translate(-50%, -50%) scale(1.5);
}

a:hover ~ .cursor,
button:hover ~ .cursor {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ========== NAVIGATION ========== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%);
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* ========== MOBILE MENU ========== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 2rem;
    right: 5%;
    z-index: 1001;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark-light);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(176, 38, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 5%;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.4s; }
.hero-title .line:nth-child(3) { animation-delay: 0.6s; }

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-cta {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--dark);
}

.btn-primary:hover::before {
    left: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ========== SECTIONS ========== */
.section {
    padding: 8rem 5%;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
}

.section-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-dim);
    margin-bottom: 4rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

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

/* ========== WHAT WE BUILD ========== */
.section-build {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
}

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

.card {
    background: var(--dark-lighter);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.card p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* ========== REVENUE STREAMS ========== */
.section-revenue {
    background: var(--dark-light);
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.revenue-item {
    text-align: center;
}

.revenue-number {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.revenue-label {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.revenue-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.revenue-card {
    background: var(--dark);
    padding: 2.5rem;
    border-left: 3px solid var(--gold);
    transition: all 0.3s ease;
}

.revenue-card:hover {
    transform: translateX(10px);
    border-left-width: 6px;
}

.revenue-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.revenue-card p {
    color: var(--text-dim);
}

/* ========== THE MACHINE ========== */
.section-machine {
    background: linear-gradient(180deg, var(--dark-light) 0%, var(--dark) 100%);
}

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

.tech-category h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tags span {
    padding: 0.7rem 1.5rem;
    background: var(--dark-lighter);
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.9rem;
    color: var(--text);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-5px);
}

.machine-visual {
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.machine-circle {
    width: 300px;
    height: 300px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    animation: rotate 20s linear infinite;
}

.machine-circle::before,
.machine-circle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
}

.machine-circle::before {
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    animation: rotate 15s linear infinite reverse;
}

.machine-circle::after {
    top: 40%;
    left: 40%;
    right: 40%;
    bottom: 40%;
    border-color: var(--neon-purple);
    animation: rotate 10s linear infinite;
}

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

.machine-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* ========== SOCIAL PROOF ========== */
.section-proof {
    background: var(--dark);
    padding: 8rem 5%;
}

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

.proof-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.proof-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--dark-lighter);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.social-icon {
    font-size: 1.5rem;
}

/* ========== CTA SECTION ========== */
.section-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 10rem 5%;
}

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

.cta-content h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-lighter);
    padding: 5rem 5% 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-dim);
    line-height: 1.8;
}

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

.footer-column h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ========== PRODUCTS SECTION ========== */
.section-products {
    background: var(--dark);
    padding: 8rem 5%;
}

.product-highlight {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: var(--dark-lighter);
    padding: 4rem;
    border: 2px solid var(--gold);
    text-align: center;
    position: relative;
}

.product-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.product-highlight h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.product-price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
}

.product-highlight > p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.product-features li {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1rem;
    padding-left: 0;
}

.product-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.product-catalog {
    text-align: center;
    padding: 3rem;
    background: var(--dark-light);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.catalog-intro {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.catalog-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.catalog-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.catalog-link:hover {
    border-bottom-color: var(--gold);
    transform: translateX(5px);
}

/* ========== TESTIMONIALS SECTION ========== */
.section-testimonials {
    background: var(--dark-light);
    padding: 8rem 5%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--dark);
    padding: 2.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.verified-badge {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-result {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* ========== CONTACT SECTION ========== */
.section-contact {
    background: var(--dark);
    padding: 8rem 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-item p {
    color: var(--text-dim);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--dark-lighter);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--dark);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    justify-self: flex-start;
    cursor: pointer;
}

/* ========== FOOTER UPDATES ========== */
.footer-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.footer-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

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

.footer-contact a:hover {
    color: var(--gold);
}

.footer-social-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-social-icon {
    font-size: 1.8rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    color: var(--gold);
    transform: translateY(-5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .section {
        padding: 5rem 5%;
    }
    
    .hero-title {
        gap: 0.3rem;
    }
    
    .cards-grid,
    .revenue-cards,
    .tech-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .product-highlight {
        padding: 2.5rem 1.5rem;
    }
    
    .product-price {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-social-bar {
        gap: 1.5rem;
    }
    
    .machine-circle {
        width: 200px;
        height: 200px;
    }
}

/* ========== PERFORMANCE OPTIMIZATIONS ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
