/* Glass Cube Style - Website 170
   Theme: Silver gray #6b7280
   Layout: Glassmorphism with 3D cube elements
*/

:root {
    --primary-color: #6b7280;
    --primary-dark: #4b5563;
    --primary-light: #9ca3af;
    --accent-color: #9ca3af;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-dark: #1f2937;
    --bg-light: #374151;
    --glass-bg: rgba(107, 114, 128, 0.1);
    --glass-border: rgba(156, 163, 175, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-light) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glass Cube Background */
.cube-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    perspective: 1000px;
}

.cube-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.cube {
    position: absolute;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.cube:nth-child(2) { top: 60%; right: 15%; animation-delay: -5s; animation-duration: 25s; }
.cube:nth-child(3) { bottom: 10%; left: 30%; animation-delay: -10s; animation-duration: 30s; }

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    opacity: 0.5;
}

.face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
.face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); }
.face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); }
.face:nth-child(4) { transform: rotateY(-90deg) translateZ(100px); }
.face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); }
.face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Glass overlay */
.glass-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(31, 41, 55, 0.3) 100%);
    pointer-events: none;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(55, 65, 81, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-logo svg { width: 40px; height: 40px; }

.nav-links { display: flex; list-style: none; gap: 5px; }

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40%;
    height: 2px;
    background: var(--primary-light);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
    background: rgba(156, 163, 175, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-content { padding-top: 70px; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.hero-content { max-width: 900px; position: relative; z-index: 1; }

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary, .btn-secondary {
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 114, 128, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(156, 163, 175, 0.5);
}

.btn-secondary:hover {
    background: rgba(107, 114, 128, 0.3);
    transform: translateY(-3px);
}

/* Section Styles */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.glass-card {
    background: rgba(55, 65, 81, 0.6);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(107, 114, 128, 0.3);
}

.glass-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

.glass-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.glass-card p { color: var(--text-secondary); line-height: 1.7; }

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(55, 65, 81, 0.6);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(75, 85, 99, 0.6);
    border-left-color: var(--primary-color);
    transform: translateX(10px);
}

.feature-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.4);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p { color: var(--text-secondary); line-height: 1.6; }

/* Stats Section */
.stats-section {
    background: rgba(55, 65, 81, 0.8);
    padding: 60px 20px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item { padding: 20px; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(107, 114, 128, 0.5);
}

.stat-label { font-size: 1.05rem; color: var(--text-secondary); }

/* Contact Section */
.contact-section {
    background: rgba(55, 65, 81, 0.6);
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(55, 65, 81, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(107, 114, 128, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--primary-light);
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Footer */
.glass-footer {
    background: rgba(55, 65, 81, 0.9);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.glass-footer p { color: var(--text-secondary); }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(55, 65, 81, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-links.active { transform: translateY(0); }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .section-title { font-size: 1.8rem; }
    .features-list { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
}

/* Page Header */
.page-header {
    padding: 80px 20px 50px;
    text-align: center;
    background: rgba(55, 65, 81, 0.6);
    border-bottom: 1px solid var(--glass-border);
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) { .two-column { grid-template-columns: 1fr; gap: 30px; } }

.column-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.column-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.column-image { display: flex; justify-content: center; align-items: center; }

.glass-box {
    width: 280px;
    height: 280px;
    background: rgba(55, 65, 81, 0.5);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.glass-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(156, 163, 175, 0.3), transparent);
    transition: left 0.5s ease;
}

.glass-box:hover::before { left: 100%; }

.info-box {
    background: rgba(107, 114, 128, 0.2);
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

.info-box h4 { color: var(--primary-light); margin-bottom: 8px; font-size: 1.05rem; }
.info-box p { margin: 0; color: var(--text-secondary); }

.icon-list { list-style: none; }

.icon-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
}

.icon-list li:last-child { border-bottom: none; }
.icon-list li::before { content: '→'; color: var(--primary-light); font-weight: bold; }
