/* ========================================
   bit-skate - Modern Corporate Website
   ======================================== */

:root {
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark: #1a1a2e;
    --black: #0d0d0d;
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-bit {
    color: var(--dark);
}

.logo-dash {
    color: var(--primary);
}

.logo-skate {
    color: var(--dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--dark);
}

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

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--dark);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition) !important;
}

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--white);
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--off-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--dark), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========================================
   Animations
   ======================================== */

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--transition) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 12px;
    margin-bottom: 24px;
    transition: all 0.3s var(--transition);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--gradient);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

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

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

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 6px 12px;
    background: var(--off-white);
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

/* ========================================
   About Section
   ======================================== */

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

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-block {
    position: absolute;
    border-radius: 16px;
    animation: float 6s ease-in-out infinite;
}

.block-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.block-2 {
    width: 120px;
    height: 120px;
    background: var(--dark);
    top: 10%;
    right: 20%;
    animation-delay: 1s;
}

.block-3 {
    width: 80px;
    height: 80px;
    background: var(--off-white);
    border: 2px solid var(--light-gray);
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.block-4 {
    width: 150px;
    height: 150px;
    background: var(--off-white);
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========================================
   Technology Section
   ======================================== */

.tech {
    background: var(--dark);
    color: var(--white);
}

.tech .section-tag {
    color: var(--primary-light);
}

.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 60px auto 0;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    z-index: 2;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.orbit-1 {
    width: 250px;
    height: 250px;
    margin: -125px 0 0 -125px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-2 {
    width: 350px;
    height: 350px;
    margin: -175px 0 0 -175px;
    animation: orbitRotate 30s linear infinite reverse;
}

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

.tech-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    transform: rotate(var(--angle)) translateX(125px) rotate(calc(-1 * var(--angle)));
}

.orbit-2 .tech-item {
    transform: rotate(var(--angle)) translateX(175px) rotate(calc(-1 * var(--angle)));
}

/* ========================================
   Contact Section
   ======================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--off-white);
    padding: 60px;
    border-radius: 24px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s var(--transition);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--light-gray);
    font-size: 16px;
    font-family: inherit;
    color: var(--dark);
    transition: border-color 0.3s var(--transition);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s var(--transition);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--light-gray);
}

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

.footer-logo {
    font-size: 20px;
    font-weight: 700;
}

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

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 968px) {
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        height: 300px;
    }

    .contact-wrapper {
        padding: 40px;
    }

    .tech-orbit {
        width: 300px;
        height: 300px;
    }

    .orbit-1 {
        width: 180px;
        height: 180px;
        margin: -90px 0 0 -90px;
    }

    .orbit-2 {
        width: 260px;
        height: 260px;
        margin: -130px 0 0 -130px;
    }

    .tech-item {
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
        font-size: 10px;
        transform: rotate(var(--angle)) translateX(90px) rotate(calc(-1 * var(--angle)));
    }

    .orbit-2 .tech-item {
        transform: rotate(var(--angle)) translateX(130px) rotate(calc(-1 * var(--angle)));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 80px 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
