/* ============================================
   Decrypta Technologies - Modern Dark Theme
   Seriös, Modern, Vertrauenswürdig
   ============================================ */

/* CSS Variables - Emerald Dark Theme */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --primary-bg: rgba(16, 185, 129, 0.1);
    --secondary: #F59E0B;
    --accent: #8B5CF6;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-medium: #334155;
    --dark-card: #1E293B;
    --dark-lighter: #334155;
    --dark-border: rgba(16, 185, 129, 0.2);
    --text: #E2E8F0;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --white: #ffffff;
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #334155 70%, #0F172A 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 25px rgba(16, 185, 129, 0.25);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-colored: rgba(16, 185, 129, 0.25);
    --border: rgba(16, 185, 129, 0.2);
    --glass: rgba(30, 41, 59, 0.95);
    --glass-border: rgba(16, 185, 129, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p { color: var(--text-secondary); }

/* Background Effects - Removed for professional look */
.grid-bg,
.orb {
    display: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
}

.logo span {
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px var(--shadow-colored);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-colored);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: var(--primary);
    border: none;
    color: var(--bg);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 20px;
}

.lang-select {
    padding: 8px 32px 8px 12px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-select:hover {
    border-color: var(--primary);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.lang-select option {
    background: var(--dark-card);
    color: var(--text);
    padding: 8px;
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.lang-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
}
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--primary-light);
}

.hero h1 {
    margin-bottom: 28px;
    color: var(--white);
}

.hero h1 .highlight {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-colored);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-light);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::before {
    display: none;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

/* Floating Cards - Simplified */
.floating-card {
    position: absolute;
    background: var(--dark-card);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.floating-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.25rem;
}

.floating-card span {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.float-1 {
    top: 10%;
    left: -60px;
}

.float-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -2s;
}

.float-3 {
    top: 50%;
    left: -80px;
}

/* Section Styles */
section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

/* Alternating section backgrounds */
#solutions {
    background: var(--bg);
}

#mission {
    background: var(--bg-alt);
}

#team {
    background: var(--bg);
}

#values {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-gov {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border: 1px solid var(--border);
}

.badge-private {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 20px;
    margin-bottom: 28px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: var(--primary-bg);
    transform: scale(1.05);
}

.product-card h3 {
    margin-bottom: 16px;
    color: var(--text);
}

.product-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.product-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.product-links {
    display: flex;
    gap: 12px;
}

.product-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-link-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.product-link-primary:hover {
    box-shadow: 0 4px 20px var(--shadow-colored);
}

.product-link-secondary {
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    color: var(--text);
}

.product-link-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Mission Section */
.mission {
    background: var(--bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-content h2 {
    margin-bottom: 28px;
}

.mission-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.mission-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mission-stat {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-stat:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mission-stat i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.mission-stat h4 {
    color: var(--text);
    margin-bottom: 8px;
}

.mission-stat p {
    font-size: 0.9rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 28px;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 20px var(--shadow-colored);
}

.team-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.team-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    padding: 0 16px;
}

.team-quote::before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0 0 4px 4px;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 50%;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--primary-bg);
    transform: scale(1.05);
}

.value-card h3 {
    margin-bottom: 16px;
    color: var(--text);
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    display: none;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--white);
    color: var(--dark);
}

.cta .btn:hover {
    background: var(--text);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-light);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 16px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-avatar {
        width: 120px;
        height: 120px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
