/* Design System Variables */
:root {
    /* Colors (HSL) */
    --background: 222, 47%, 4%;
    --foreground: 210, 40%, 98%;
    --card: 222, 40%, 7%;
    --card-foreground: 210, 40%, 98%;
    --primary: 263, 70%, 60%;
    --primary-foreground: 210, 40%, 98%;
    --primary-glow: 263, 85%, 70%;
    --secondary: 192, 91%, 55%;
    --secondary-foreground: 222, 47%, 4%;
    --muted: 222, 30%, 15%;
    --muted-foreground: 215, 25%, 70%;
    --accent: 192, 91%, 55%;
    --accent-foreground: 222, 47%, 4%;
    --border: 222, 30%, 18%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(263, 70%, 60%) 0%, hsl(280, 80%, 65%) 100%);
    --gradient-secondary: linear-gradient(135deg, hsl(192, 91%, 55%) 0%, hsl(210, 95%, 60%) 100%);
    --gradient-hero: radial-gradient(ellipse at top, hsl(263, 70%, 15%) 0%, hsl(222, 47%, 4%) 50%);
    --gradient-accent: linear-gradient(135deg, hsl(280, 80%, 65%) 0%, hsl(310, 75%, 65%) 100%);
    --gradient-card: linear-gradient(135deg, hsl(222, 40%, 8%) 0%, hsl(222, 40%, 6%) 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 60px hsl(263 70% 60% / 0.4);
    --shadow-card: 0 20px 60px -15px hsl(0 0% 0% / 0.7);
    --shadow-hover: 0 30px 80px -15px hsl(263 70% 60% / 0.5);
    --shadow-soft: 0 8px 30px hsl(0 0% 0% / 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

#navigation.scrolled {
    background-color: hsl(var(--background) / 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

.nav-logo {
    cursor: pointer;
}

.logo {
    height: 3rem;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    background: none;
    border: none;
    color: hsl(var(--foreground) / 0.8);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover .nav-underline {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-lg {
    padding: 1.75rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-gradient {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    position: relative;
    overflow: hidden;
}

.btn-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-gradient:hover {
    box-shadow: var(--shadow-hover);
}

.btn-gradient:hover::after {
    opacity: 1;
}

.btn-outline {
    border: 2px solid hsl(var(--primary) / 0.4);
    background: hsl(var(--card) / 0.5);
    backdrop-filter: blur(8px);
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background: hsl(var(--primary) / 0.2);
    border-color: hsl(var(--primary) / 0.6);
    box-shadow: var(--shadow-soft);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(8, 7, 15, 0.92), rgba(8, 7, 15, 0.88));
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.orb-1 {
    top: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.2);
}

.orb-2 {
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--secondary) / 0.15);
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 1.5rem;
}

.hero-inner {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(var(--card) / 0.6);
    backdrop-filter: blur(12px);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    margin-bottom: 2.5rem;
    border: 1px solid hsl(var(--primary) / 0.3);
    box-shadow: var(--shadow-glow);
    animation: fade-in-down 0.8s ease-out forwards;
}

.sparkle-icon {
    color: hsl(var(--primary));
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: hsl(var(--muted-foreground));
    margin-bottom: 3.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fade-in-up 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    animation: fade-in-up 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5em;
}

.highlight {
    position: relative;
}

.highlight::before {
    content: '';
    position: absolute;
    inset: -0.5rem;
    background: var(--gradient-primary);
    opacity: 0.2;
    filter: blur(40px);
    z-index: -1;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: hsl(var(--primary) / 0.6);
    animation: bounce 2s ease-in-out infinite;
}

/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.services-section {
    background: hsl(var(--background));
}

.about-section {
    background: hsl(var(--muted) / 0.3);
}

.certifications-section {
    background: hsl(var(--background));
}

.contact-section {
    background: hsl(var(--muted) / 0.3);
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50rem;
    height: 37.5rem;
    background: hsl(var(--primary) / 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.bg-gradient-right {
    position: absolute;
    top: 5rem;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--secondary) / 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.bg-gradient-left {
    position: absolute;
    bottom: 5rem;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.bg-gradient-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 37.5rem;
    height: 37.5rem;
    background: hsl(var(--secondary) / 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.section-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.service-card {
    background: var(--gradient-card);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid hsl(var(--border) / 0.5);
    transition: all 0.7s ease;
}

.service-card:hover {
    border-color: hsl(var(--primary) / 0.6);
    box-shadow: var(--shadow-hover);
    transform: translateY(-0.5rem);
}

.service-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.service-icon svg {
    color: hsl(var(--background));
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 5rem;
    height: 5rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-icon-wrapper::after {
    opacity: 1;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.6;
}

.service-line {
    margin-top: 1.5rem;
    height: 4px;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.service-card:hover .service-line {
    width: 100%;
}

/* About Section */
.about-content {
    background: var(--gradient-card);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 3.5rem;
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-card);
    margin-bottom: 3.5rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.5s ease;
}

.about-content:hover {
    box-shadow: var(--shadow-hover);
    border-color: hsl(var(--primary) / 0.4);
}

.about-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: hsl(var(--foreground) / 0.9);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: 1.5rem;
    border: 1px solid hsl(var(--border) / 0.5);
    transition: all 0.7s ease;
}

.feature-card:hover {
    border-color: hsl(var(--primary) / 0.6);
    box-shadow: var(--shadow-hover);
    transform: translateY(-0.5rem);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.feature-icon svg {
    color: hsl(var(--background));
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: hsl(var(--primary) / 0.2);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover .feature-icon-wrapper::after {
    opacity: 1;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--gradient-card);
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1px solid hsl(var(--border) / 0.5);
    transition: all 0.7s ease;
}

.cert-card:hover {
    border-color: hsl(var(--primary) / 0.6);
    box-shadow: var(--shadow-hover);
    transform: translateY(-0.25rem);
}

.cert-icon {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.cert-card:hover .cert-icon {
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.cert-icon svg {
    color: hsl(var(--background));
}

.cert-title {
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cert-card:hover .cert-title {
    color: hsl(var(--primary));
}

/* Contact Section */
.contact-content {
    max-width: 96rem;
    margin: 0 auto;
}

.contact-info {
    position: relative;
    z-index: 10;
}

.contact-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--gradient-card);
    border-radius: 1rem;
    border: 1px solid hsl(var(--border) / 0.5);
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.contact-item:hover {
    border-color: hsl(var(--primary) / 0.6);
    box-shadow: var(--shadow-soft);
    transform: translateX(-0.25rem);
}

.contact-icon {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.contact-item:hover .contact-icon {
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.contact-icon svg {
    color: hsl(var(--background));
}

.contact-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-link:hover {
    color: hsl(var(--primary));
}

.contact-text {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: var(--gradient-card);
    border-top: 1px solid hsl(var(--border) / 0.5);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.footer-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--primary) / 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    cursor: pointer;
}

.footer-logo-img {
    height: 3rem;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

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

@media (min-width: 768px) {
    .footer-text {
        text-align: right;
    }
}

.footer-tagline {
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.footer-copyright {
    color: hsl(var(--muted-foreground) / 0.8);
    font-size: 0.875rem;
}

.footer-separator {
    margin: 0 0.5rem;
    color: hsl(var(--muted-foreground) / 0.5);
}

.footer-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: hsl(var(--foreground));
}

/* Privacy Policy Styles */
.privacy-section {
    background: hsl(var(--background));
    min-height: 100vh;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.privacy-card {
    background: hsl(var(--card) / 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    background: hsl(var(--card) / 0.7);
    border-color: hsl(var(--primary) / 0.4);
    transform: translateY(-2px);
}

.privacy-heading {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.privacy-text {
    color: hsl(var(--foreground) / 0.9);
    line-height: 1.8;
    font-size: 1rem;
}

.privacy-list {
    color: hsl(var(--foreground) / 0.9);
    line-height: 1.8;
    font-size: 1rem;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.privacy-list li {
    margin-bottom: 0.5rem;
}

.privacy-list li strong {
    color: hsl(var(--foreground));
}


/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px hsl(263 70% 60% / 0.4);
    }
    50% {
        box-shadow: 0 0 60px hsl(263 70% 60% / 0.7);
    }
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

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

.fade-in {
    animation: fade-in 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .about-content {
        padding: 2rem;
    }
}
