/* ============================================
   CSS Variables / Theme Colors
   ============================================ */
:root {
    /* Dark Theme Colors */
    --background: hsl(220, 20%, 5%);
    --foreground: hsl(200, 10%, 95%);
    --card: hsl(220, 18%, 8%);
    --card-foreground: hsl(200, 10%, 95%);
    --primary: hsl(195, 62%, 49%);
    --primary-foreground: hsl(220, 20%, 5%);
    --secondary: hsl(195, 62%, 66%);
    --muted: hsl(220, 15%, 15%);
    --muted-foreground: hsl(200, 10%, 70%);
    --border: hsl(220, 15%, 18%);
    
    /* Brand Colors */
    --click-blue: hsl(195, 62%, 49%);
    --click-blue-light: hsl(189, 86%, 66%);
    --tech-gray: hsl(200, 10%, 67%);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
.font-brand,
.brand-title,
.section-title,
.service-title,
.footer-brand-text {
    font-family: 'Conthrax', sans-serif;
    letter-spacing: 0.05em;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background gradient effect */
.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), var(--background), hsla(220, 15%, 15%, 0.2));
    z-index: 0;
}

/* Animated grid background */
.grid-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(to right, hsla(195, 62%, 49%, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, hsla(195, 62%, 49%, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

/* Floating particles container */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: hsla(195, 62%, 49%, 0.3);
    animation: float-particle 5s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(-20px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.6;
    }
}

/* Logo Container */
.logo-container {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-in-scale 0.5s ease-out 0.2s forwards;
}

@keyframes fade-in-scale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Neon Ring Effects */
.neon-ring {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    border: 2px solid hsla(195, 62%, 49%, 0.3);
    animation: neon-ring-pulse 3s ease-in-out infinite;
}

.neon-ring-outer {
    position: absolute;
    inset: -35%;
    border-radius: 50%;
    border: 1px solid hsla(195, 62%, 49%, 0.15);
    animation: neon-ring-pulse 3s ease-in-out infinite 0.5s;
}

@keyframes neon-ring-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Logo with Neon Glow */
.logo {
    width: 128px;
    height: 128px;
    position: relative;
    z-index: 10;
}

/* SVG Draw Effect */
.logo path {
    stroke: currentColor;
    stroke-width: 1;
    fill: transparent;
    animation: 
        draw-logo 2.5s ease-out forwards,
        fill-logo 0.5s ease-in 2.5s forwards;
}

/* Preserve original colors for each path */
.logo path[fill="#2f9dc7"] {
    stroke: #2f9dc7;
}

.logo path[fill="#2e9cc5"] {
    stroke: #2e9cc5;
}

.logo path[fill="#2f9dc6"] {
    stroke: #2f9dc6;
}

@keyframes draw-logo {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fill-logo {
    from {
        fill: transparent;
        stroke-width: 1;
    }
    to {
        fill: currentColor;
        stroke-width: 0;
    }
}

/* Restore original fill colors after animation */
.logo path[fill="#2f9dc7"] {
    color: #2f9dc7;
}

.logo path[fill="#2e9cc5"] {
    color: #2e9cc5;
}

.logo path[fill="#2f9dc6"] {
    color: #2f9dc6;
}

.neon-glow {
    filter: 
        drop-shadow(0 0 10px hsla(195, 62%, 49%, 0.8))
        drop-shadow(0 0 30px hsla(195, 62%, 49%, 0.6))
        drop-shadow(0 0 50px hsla(189, 86%, 66%, 0.5))
        drop-shadow(0 0 80px hsla(195, 62%, 49%, 0.4));
    /* Start neon pulse and float after draw animation completes (3s) */
    animation: neon-pulse 2s ease-in-out infinite 3s, float-logo 6s ease-in-out infinite 3s;
}

@keyframes neon-pulse {
    0%, 100% {
        filter: 
            drop-shadow(0 0 10px hsla(195, 62%, 49%, 0.8))
            drop-shadow(0 0 30px hsla(195, 62%, 49%, 0.6))
            drop-shadow(0 0 50px hsla(189, 86%, 66%, 0.5))
            drop-shadow(0 0 80px hsla(195, 62%, 49%, 0.4));
    }
    50% {
        filter: 
            drop-shadow(0 0 15px hsla(195, 62%, 49%, 1))
            drop-shadow(0 0 40px hsla(195, 62%, 49%, 0.8))
            drop-shadow(0 0 70px hsla(189, 86%, 66%, 0.7))
            drop-shadow(0 0 100px hsla(195, 62%, 49%, 0.5))
            drop-shadow(0 0 150px hsla(189, 86%, 66%, 0.3));
    }
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Brand Text */
.brand-text {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fade-in-up 0.8s ease-out 0.3s backwards;
}

.brand-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 0.5rem; */
}

.text-click-blue {
    color: var(--click-blue);
}

.text-tech-gray {
    color: var(--tech-gray);
}

.brand-main {
    font-size: 4rem;
}

.brand-sub {
    font-size: 2rem;
}

.glow-text {
    text-shadow: 
        0 0 20px hsla(195, 62%, 49%, 0.5),
        0 0 40px hsla(195, 62%, 49%, 0.3);
}

/* Tagline */
.tagline {
    position: relative;
    z-index: 10;
    margin-top: 0.5rem;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 28rem;
    text-align: center;
    padding: 0 1rem;
    animation: fade-in 0.8s ease-out 1s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    z-index: 10;
    animation: fade-in 0.8s ease-out 1.5s backwards;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border-radius: 1.25rem;
    border: 2px solid hsla(195, 62%, 49%, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

.scroll-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background-color: var(--primary);
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ============================================
   Container & Layout Utilities
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-small {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 6rem 0;
    position: relative;
}

.section-content {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--click-blue);
    margin-bottom: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.8;
}

.highlight {
    color: var(--foreground);
    font-weight: 500;
}

/* Decorative line */
.decorative-line {
    height: 1px;
    margin-top: 4rem;
    background: linear-gradient(
        to right, 
        transparent, 
        hsla(195, 62%, 49%, 0.5), 
        transparent
    );
    animation: scale-x 1s ease-out 0.6s backwards;
}

@keyframes scale-x {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 6rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

/* Service Card */
.service-card {
    padding: 2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.service-card:hover {
    /* transform: translateY(-5px); */
    /* transform: scale(1.1); */
    filter: drop-shadow(0 0 20px #60dbf2);

    transform: translateY(-10px);
    border-color: #60dbf2;
    box-shadow: 0 10px 40px rgba(96, 219, 242, 0.2),
                0 0 30px rgba(48, 161, 203, 0.1);
}

/* Glass card effect */
.glass-card {
    background: linear-gradient(
        135deg, 
        hsla(220, 18%, 10%, 0.8) 0%, 
        hsla(220, 18%, 6%, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid hsla(220, 15%, 18%, 0.5);
}

/* Glow border effect */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg, 
        hsla(195, 62%, 49%, 0.5), 
        transparent, 
        hsla(189, 86%, 66%, 0.3)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Service icon */
.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background-color: hsla(195, 62%, 49%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: hsla(195, 62%, 49%, 0.2);

    /* transform: scale(1.1); */
    /* filter: drop-shadow(0 0 20px #60dbf2); */
}

.service-icon svg {
    color: var(--primary);
    transition: filter 0.3s ease;
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 0 10px hsla(195, 62%, 49%, 0.8));
}

.service-title {
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    letter-spacing: 0.025em;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 6rem 0;
    position: relative;
}

.cta-content {
    text-align: center;
}

.cta-text {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */

/*
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-family: 'Conthrax', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--primary-foreground);
    background: linear-gradient(
        135deg, 
        var(--click-blue) 0%, 
        var(--click-blue-light) 100%
    );
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 0 20px hsla(195, 62%, 49%, 0.3),
        0 0 40px hsla(195, 62%, 49%, 0.2);
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 30px hsla(195, 62%, 49%, 0.5),
        0 0 60px hsla(195, 62%, 49%, 0.3);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-button svg {
    transition: transform 0.2s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

*/



.cta-button {
    background: transparent;
    border: 2px solid #30a1cb;
    color: #60dbf2;
    font-family: 'Conthrax', sans-serif;
    font-size: 1rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #30a1cb;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}
 
.cta-button:hover {
    color: var(--text-primary);
    border-color: #60dbf2;
    box-shadow: 0 0 30px rgba(96, 219, 242, 0.4),
                0 0 60px rgba(48, 161, 203, 0.2);
    transform: translateY(-3px);
}
 
.cta-button:hover::before {
    width: 300px;
    height: 300px;
}


/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid hsla(220, 15%, 18%, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
}

.logo-small {
    width: 32px;
    height: 32px;
}

.footer-brand-text {
    font-size: 0.875rem;
}

.footer-copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ============================================
   Animation Classes
   ============================================ */
.fade-in {
    opacity: 0;
    animation: fade-in 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.4s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.6s forwards;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Intersection Observer Triggered Animations
   ============================================ */
.section-content.visible,
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.cta-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .brand-main {
        font-size: 5rem;
    }
    
    .brand-sub {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
    }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
    .brand-main {
        font-size: 6.5rem;
    }
    
    .brand-sub {
        font-size: 3rem;
    }
    
    .logo {
        width: 160px;
        height: 160px;
    }
    
    .about-section,
    .services-section,
    .cta-section {
        padding: 8rem 0;
    }
}

