/* ========================================
   DARDANIA DIGITAL - Enhanced Professional
   Dark Greenish Theme
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Dark Greenish Palette - Muted & Professional */
    --color-bg: #0a0f0d;
    --color-bg-subtle: #0d1411;
    --color-accent: #3d5a4c;
    --color-accent-light: #5a7d6a;
    --color-accent-glow: rgba(61, 90, 76, 0.15);
    --color-accent-intense: rgba(90, 125, 106, 0.3);

    --color-text-primary: #e8ede9;
    --color-text-secondary: #8a9a8f;
    --color-text-muted: #5a6a5f;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-accent-glow), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(61, 90, 76, 0.08), transparent),
        radial-gradient(ellipse 40% 30% at 0% 50%, rgba(61, 90, 76, 0.05), transparent),
        var(--color-bg);
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite;
}

@keyframes float {

    0%,
    100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    background: linear-gradient(to bottom, var(--color-bg), transparent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 40px;
    width: auto;
    opacity: 0.95;
    transition: opacity var(--transition), transform var(--transition);
}

.logo-image:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 48px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

/* Decorative Ring */
.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    opacity: 0.08;
    animation: ringPulse 8s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.05;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.1;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--color-accent-light);
    font-weight: 500;
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-light), transparent);
    opacity: 0.5;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 48px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator-icon {
    color: var(--color-accent-light);
    font-size: 0.75rem;
}

.indicator-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.indicator-divider {
    width: 1px;
    height: 16px;
    background: var(--color-text-muted);
    opacity: 0.3;
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
    opacity: 0.03;
}

.deco-line-1 {
    left: 15%;
    top: 0;
    width: 1px;
    height: 100%;
    animation: lineFloat 20s ease-in-out infinite;
}

.deco-line-2 {
    right: 15%;
    top: 0;
    width: 1px;
    height: 100%;
    animation: lineFloat 20s ease-in-out infinite reverse;
}

.deco-line-3 {
    left: 50%;
    top: 20%;
    width: 1px;
    height: 60%;
    opacity: 0.02;
    animation: lineFloat 15s ease-in-out infinite;
}

@keyframes lineFloat {

    0%,
    100% {
        transform: translateY(-5%);
    }

    50% {
        transform: translateY(5%);
    }
}

/* Subtle gradient sweep */
.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top,
            var(--color-bg) 0%,
            transparent 100%);
    pointer-events: none;
}

/* Section Separator */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px 48px;
    opacity: 0.4;
}

.separator-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-light), transparent);
}

.separator-icon {
    font-size: 0.75rem;
    color: var(--color-accent-light);
}

/* Stats Section */
.stats-section {
    padding: 80px 48px;
    background: linear-gradient(180deg, transparent, var(--color-bg-subtle), transparent);
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-accent-light);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Quote Section */
.quote-section {
    padding: 100px 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-container {
    text-align: center;
    max-width: 700px;
    position: relative;
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.quote-decoration {
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    margin: 32px auto 0;
    opacity: 0.4;
}

/* Footer */
.footer {
    padding: 64px 48px 48px;
    text-align: center;
    border-top: 1px solid rgba(61, 90, 76, 0.1);
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    margin-bottom: 8px;
}

.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-email {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-light);
    transition: width var(--transition);
}

.footer-email:hover {
    color: var(--color-accent-light);
}

.footer-email:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-location {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 400;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 0;
    }

    .nav-container,
    .hero,
    .stats-section,
    .quote-section,
    .footer,
    .section-separator {
        padding-left: 24px;
        padding-right: 24px;
    }

    .logo-image {
        height: 32px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-ring {
        width: 300px;
        height: 300px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 36px;
    }

    .trust-indicators {
        gap: 16px;
    }

    .indicator-divider {
        display: none;
    }

    .indicator {
        padding: 8px 0;
    }

    .stats-container {
        gap: 48px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .quote-text {
        font-size: 1.25rem;
    }

    .footer {
        padding: 48px 24px 32px;
    }

    .deco-line-1,
    .deco-line-2,
    .deco-line-3 {
        display: none;
    }
}

/* Subtle entrance animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    animation: fadeIn 0.8s ease forwards;
}

.hero-content {
    animation: fadeIn 1s ease forwards;
}

.hero-title .title-line:nth-child(1) {
    animation: fadeIn 0.8s ease 0.1s both;
}

.hero-title .title-line:nth-child(2) {
    animation: fadeIn 0.8s ease 0.2s both;
}

.hero-title .title-line:nth-child(3) {
    animation: fadeIn 0.8s ease 0.3s both;
}

.hero-tagline {
    animation: fadeIn 0.8s ease 0.5s both;
}

.trust-indicators {
    animation: fadeIn 0.8s ease 0.7s both;
}

.stats-section {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.quote-section {
    animation: fadeInUp 0.8s ease 0.5s both;
}