/* Gradient Stream Style - Website 169
   Theme: Deep blue #1d4ed8
   Layout: Gradient flow animations with streaming effects
*/

:root {
    --primary-color: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --accent-color: #3b82f6;
    --text-primary: #eff6ff;
    --text-secondary: #bfdbfe;
    --bg-dark: #1e3a8a;
    --bg-light: #1d4ed8;
}

* { 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(180deg, var(--bg-dark) 0%, var(--primary-dark) 40%, var(--primary-color) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Gradient Stream Background */
.stream-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stream-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stream-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.3;
    animation: stream 8s infinite linear;
}

.stream-line:nth-child(1) { width: 100%; top: 20%; animation-delay: 0s; }
.stream-line:nth-child(2) { width: 80%; top: 40%; animation-delay: 1s; animation-duration: 6s; }
.stream-line:nth-child(3) { width: 100%; top: 60%; animation-delay: 2s; animation-duration: 7s; }
.stream-line:nth-child(4) { width: 70%; top: 80%; animation-delay: 3s; animation-duration: 5s; }
.stream-line:nth-child(5) { width: 90%; top: 50%; animation-delay: 4s; animation-duration: 8s; }

@keyframes stream {
    0% { transform: translateX(-100%); opacity: 0; }
    20% { opacity: 0.3; }
    80% { opacity: 0.3; }
    100% { transform: translateX(200%); opacity: 0; }
}

.stream-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orb 12s infinite ease-in-out;
}

.stream-orb:nth-child(6) { background: var(--primary-color); top: 10%; left: -100px; animation-delay: 0s; }
.stream-orb:nth-child(7) { background: var(--primary-light); top: 50%; right: -150px; animation-delay: -4s; }
.stream-orb:nth-child(8) { background: var(--accent-color); bottom: 10%; left: 30%; animation-delay: -8s; }

@keyframes orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Navigation */
.stream-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.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(29, 78, 216, 0.3);
}

.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(29, 78, 216, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(29, 78, 216, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(29, 78, 216, 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;
}

.stream-card {
    background: rgba(30, 64, 175, 0.6);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stream-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;
}

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

.stream-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.3);
}

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

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

.stream-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(30, 58, 138, 0.6);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    background: rgba(30, 64, 175, 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(29, 78, 216, 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(30, 58, 138, 0.8);
    padding: 60px 20px;
    border-top: 1px solid rgba(96, 165, 250, 0.3);
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.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(29, 78, 216, 0.5);
}

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

/* Contact Section */
.contact-section {
    background: rgba(30, 58, 138, 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(30, 64, 175, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(96, 165, 250, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 50px rgba(29, 78, 216, 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 */
.stream-footer {
    background: rgba(30, 58, 138, 0.9);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.stream-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(30, 58, 138, 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(30, 58, 138, 0.6);
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.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; }

.stream-box {
    width: 280px;
    height: 280px;
    background: rgba(30, 64, 175, 0.5);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

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

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

.info-box {
    background: rgba(29, 78, 216, 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(96, 165, 250, 0.2);
}

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