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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --gold-start: #FFD700;
    --gold-mid: #FFA500;
    --gold-end: #FF8C00;
    --text-primary: #e8e8e8;
    --text-secondary: #b5b5b5;
    --accent: #00ff41;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

/* Matrix Rain Canvas */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(57, 255, 20, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Scroll Progress Indicator */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-mid), var(--gold-end));
    transform-origin: left;
    transform: scaleX(var(--scroll-progress, 0));
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, rgba(0, 255, 65, 0.05) 40%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    z-index: 3;
    opacity: 0;
    mix-blend-mode: screen;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 30px;
    position: relative;
    z-index: 2;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 100px;
    padding: 60px 0;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 35px;
    animation: float 3s ease-in-out infinite;
    font-weight: 800;
    letter-spacing: -0.03em;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.intro-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 820px;
    margin: 25px auto;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0.015em;
}

/* Section Titles */
.section-title {
    font-size: 2.75rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Service Cards */
.services {
    margin-bottom: 100px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 50px 45px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 65, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(25, 25, 25, 0.8));
}

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

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

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 255, 65, 0.6);
    box-shadow: 0 20px 60px rgba(0, 255, 65, 0.25);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    transition: all 0.4s ease;
    user-select: none;
}

.service-card:hover .service-number {
    opacity: 0.3;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.9rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.service-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.75;
    opacity: 0.9;
}

.service-features {
    margin-top: 20px;
}

.service-features ul {
    list-style: none;
    margin: 15px 0;
}

.service-features li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    color: var(--text-primary);
    padding-left: 40px;
}

.service-features li:hover::before {
    transform: scale(1.2);
}

.result {
    margin-top: 25px;
    padding: 20px 22px;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.08), rgba(0, 255, 65, 0.03));
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.75;
    transition: all 0.3s ease;
}

.result:hover {
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.12), rgba(0, 255, 65, 0.05));
    transform: translateX(5px);
}

/* Why B2B Section - Circular Infographic */
.why-b2b {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(25, 25, 25, 0.8));
    border-radius: 24px;
    padding: 70px 50px;
    margin-bottom: 90px;
    border: 1px solid rgba(0, 255, 65, 0.15);
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
}

.b2b-intro {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 60px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.b2b-circular-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
    min-height: 500px;
}

.b2b-circle-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

/* Central Circle */
.b2b-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(0, 204, 51, 0.08));
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

.center-content {
    text-align: center;
}

.center-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.center-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent);
}

/* SVG Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orbit-ring {
    fill: none;
    stroke: rgba(0, 255, 65, 0.25);
    stroke-width: 2;
    stroke-dasharray: 10 5;
    animation: rotateDash 20s linear infinite;
}

.connect-line {
    stroke: rgba(0, 255, 65, 0.35);
    stroke-width: 2;
    stroke-dasharray: 5 5;
    animation: flowLine 2s ease-in-out infinite;
}

/* Orbit Items */
.b2b-orbit-item {
    position: absolute;
    width: 140px;
    z-index: 5;
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: floatOrbit1 3s ease-in-out infinite;
}

.orbit-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: floatOrbit2 3s ease-in-out infinite 0.5s;
}

.orbit-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: floatOrbit3 3s ease-in-out infinite 1s;
}

.orbit-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: floatOrbit4 3s ease-in-out infinite 1.5s;
}

.orbit-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(30, 30, 30, 0.9));
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.orbit-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.orbit-content:hover::before {
    animation: shimmer 1.5s ease-in-out infinite;
}

.orbit-content:hover {
    transform: scale(1.08);
    border-color: var(--gold-mid);
    box-shadow: 0 8px 25px rgba(0, 255, 65, 0.5);
}

.orbit-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 255, 65, 0.4));
}

.orbit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.orbit-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    animation: pulseDot 2s ease-in-out infinite;
}

.orbit-1 .orbit-dot {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-2 .orbit-dot {
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
}

.orbit-3 .orbit-dot {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-4 .orbit-dot {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}

.b2b-conclusion {
    text-align: center;
    font-size: 1.25rem;
    margin-top: 60px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.005em;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 40px rgba(0, 255, 65, 0.6);
    }
}

@keyframes rotateDash {
    to {
        stroke-dashoffset: -1000;
    }
}

@keyframes flowLine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes floatOrbit1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes floatOrbit2 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(8px); }
}

@keyframes floatOrbit3 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes floatOrbit4 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-8px); }
}

@keyframes pulseDot {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.3);
        opacity: 0.6;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Recognition Section */
.recognition {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(25, 25, 25, 0.8));
    border-radius: 24px;
    padding: 60px 50px;
    margin-bottom: 90px;
    border: 1px solid rgba(0, 255, 65, 0.15);
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
}

.recognition > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    font-weight: 500;
}

.checklist {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.checklist li {
    padding: 18px 24px 18px 55px;
    position: relative;
    font-size: 1.1rem;
    margin-bottom: 18px;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.checklist li::before {
    content: '→';
    position: absolute;
    left: 20px;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.checklist li:hover {
    background: rgba(0, 255, 65, 0.1);
    transform: translateX(12px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.15);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    font-size: 3.25rem;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cta-content > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 24px 60px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a0a0a;
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    border: none;
    border-radius: 60px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 255, 65, 0.4);
    letter-spacing: -0.01em;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 255, 65, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

[data-aos="fade-up"] {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 50px 30px;
    }

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

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

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

    .intro-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-number {
        font-size: 2.5rem;
        top: 15px;
        right: 20px;
    }

    .service-card h3 {
        font-size: 1.5rem;
        padding-right: 60px;
    }

    .service-subtitle {
        font-size: 1rem;
    }

    .service-features li {
        font-size: 1rem;
    }

    /* B2B Circular - Tablet */
    .why-b2b {
        padding: 50px 30px;
    }

    .b2b-circular-wrapper {
        min-height: 450px;
        margin: 40px 0;
    }

    .b2b-circle-container {
        width: 400px;
        height: 400px;
    }

    .b2b-center-circle {
        width: 130px;
        height: 130px;
    }

    .center-icon {
        font-size: 2rem;
    }

    .center-text {
        font-size: 0.75rem;
    }

    .b2b-orbit-item {
        width: 120px;
    }

    .orbit-content {
        padding: 15px 10px;
    }

    .orbit-icon {
        font-size: 1.8rem;
    }

    .orbit-title {
        font-size: 0.95rem;
    }

    .orbit-desc {
        font-size: 0.8rem;
    }

    .checklist li {
        font-size: 1rem;
        padding: 12px 15px 12px 45px;
    }

    .checklist li::before {
        font-size: 1.3rem;
        left: 15px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content > p {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 1.05rem;
    }

    .cursor-glow {
        display: none;
    }

    /* Reduce matrix effect intensity on tablet */
    #matrixCanvas {
        opacity: 0.06;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 40px 20px;
    }

    .hero {
        margin-bottom: 60px;
        padding: 20px 0;
    }

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

    .intro-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 25px 18px;
    }

    .service-number {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-features li {
        font-size: 0.95rem;
        padding: 8px 0 8px 28px;
    }

    .service-features li::before {
        font-size: 1rem;
    }

    .result {
        font-size: 0.95rem;
        padding: 12px;
    }

    /* B2B Circular - Mobile */
    .why-b2b {
        padding: 35px 15px;
    }

    .b2b-intro {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .b2b-circular-wrapper {
        min-height: 350px;
        margin: 30px 0;
    }

    .b2b-circle-container {
        width: 320px;
        height: 320px;
    }

    .b2b-center-circle {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }

    .center-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .center-text {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .b2b-orbit-item {
        width: 95px;
    }

    .orbit-content {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .orbit-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .orbit-title {
        font-size: 0.85rem;
    }

    .orbit-desc {
        font-size: 0.7rem;
    }

    .orbit-dot {
        width: 8px;
        height: 8px;
    }

    .orbit-1 .orbit-dot {
        bottom: -20px;
    }

    .orbit-2 .orbit-dot {
        left: -20px;
    }

    .orbit-3 .orbit-dot {
        top: -20px;
    }

    .orbit-4 .orbit-dot {
        right: -20px;
    }

    .connection-lines {
        opacity: 0.5;
    }

    .b2b-conclusion {
        font-size: 1.05rem;
        margin-top: 30px;
    }

    .recognition {
        padding: 35px 20px;
    }

    .recognition > p {
        font-size: 1.05rem;
    }

    .checklist li {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content > p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Further reduce matrix effect on mobile */
    #matrixCanvas {
        opacity: 0.05;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: translateY(0);
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .cta-button:hover {
        transform: translateY(0);
    }

    .cta-button:active {
        transform: scale(0.97);
    }

    .checklist li:hover {
        transform: translateX(0);
    }

    .orbit-content:hover {
        transform: none;
    }

    .orbit-content:active {
        transform: scale(0.95);
    }
}