/* CSS Variables for Theme Management */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-hover: #2563eb;
    --lightning-color: #f59e0b;
    --lightning-glow: #fbbf24;
    --border-color: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
    --card-bg: #ffffff;
    --section-gap: 8rem;
}

[data-theme="dark"] {
    /* Dark Theme Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-accent: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-hover: #2563eb;
    --lightning-color: #f59e0b;
    --lightning-glow: #fbbf24;
    --border-color: #475569;
    --shadow: rgba(0, 0, 0, 0.25);
    --shadow-lg: rgba(0, 0, 0, 0.35);
    --card-bg: #1e293b;
    --section-gap: 8rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
}

[data-theme="dark"] header {
    background: rgba(15, 23, 42, 0.85);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.2rem;
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--bg-accent);
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

/* 3D Lightning Logo */
.lightning-logo {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 6s linear infinite;
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(15deg); }
    50% { transform: rotateY(180deg) rotateX(0deg); }
    75% { transform: rotateY(270deg) rotateX(-15deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.lightning-bolt {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--lightning-color), var(--lightning-glow));
    clip-path: polygon(20% 0%, 40% 0%, 30% 45%, 70% 45%, 80% 100%, 60% 100%, 70% 55%, 30% 55%);
    filter: drop-shadow(0 0 8px var(--lightning-glow));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px var(--lightning-glow));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 16px var(--lightning-glow)) drop-shadow(0 0 24px var(--lightning-color));
        transform: scale(1.1);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 20%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    animation: float 10s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 25%;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 6px var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Section Styles */
.section {
    padding: var(--section-gap) 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.2;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.section-animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-animated.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    background: 
        radial-gradient(ellipse at 80% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        radial-gradient(ellipse at 20% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 30%),
        var(--bg-secondary);
    position: relative;
}

.about-content {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.core-values {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.value-item {
    background: var(--card-bg);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    box-shadow: 0 6px 16px var(--shadow);
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.05rem;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

/* History Section */
.history {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 30%),
        var(--bg-accent);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3.5rem;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
}

.timeline-item {
    background: var(--card-bg);
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
    width: 45%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
    width: 45%;
    text-align: left;
}

.timeline-year {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 30px;
}

.timeline-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-lg);
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: calc(100% - 40px);
        margin-left: 40px !important;
        margin-right: 0 !important;
        text-align: left;
    }
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2.8rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 10px 30px var(--shadow);
}

.product-link {
    text-decoration: none;
    display: block;
}

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

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px var(--shadow-lg);
}

.product-visual {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        var(--bg-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: all 0.4s ease;
}

.product-card:hover .product-visual {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        var(--bg-secondary);
}

.product-info h3 {
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.features-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, var(--bg-accent), var(--bg-secondary));
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Competitive Advantage Section */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.advantage-item {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px var(--shadow);
}

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

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-lg);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.15);
}

.advantage-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.advantage-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.8rem;
    margin-top: 3.5rem;
}

.team-member {
    text-align: center;
    background: var(--card-bg);
    padding: 3rem 2.2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

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

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px var(--shadow-lg);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: white;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.team-member:hover .member-avatar {
    transform: scale(1.05);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.member-role {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* Final CTA Section */
.final-cta {
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    text-align: center;
    padding: 6rem 2.5rem;
    border-radius: 30px;
    margin: 7rem auto;
    max-width: 1200px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.final-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow);
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-category {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.read-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all-blogs {
    text-align: center;
    margin-top: 4rem;
}

/* Blog Page Styles */
.blog-hero {
    background: 
        radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.blog-hero-content p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-content-section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.blog-post-link {
    text-decoration: none;
    display: block;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow);
}

.blog-post-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px var(--shadow-lg);
}

.blog-post-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.blog-post-content {
    padding: 1.8rem;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-post-date {
    color: var(--text-muted);
    font-weight: 500;
}

.blog-post-category {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-weight: 600;
}

.blog-post-link h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-post-link p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    display: flex;
    align-items: center;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    gap: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 30%),
        var(--bg-accent);
    padding: 6rem 2rem;
    margin: 6rem 0;
}

.newsletter-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 60px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 12px;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 30%),
        var(--bg-accent);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.newsletter-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 60px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 12px;
    }
}

/* Footer */
footer {
    background: 
        radial-gradient(ellipse at top, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
        var(--bg-secondary);
    padding: 5rem 2.5rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-text {
    color: var(--text-muted);
    font-size: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: calc(var(--section-gap) * 0.8) 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.8rem);
    }
    
    .product-card {
        flex-direction: column;
        text-align: center;
    }
    
    .product-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-visual {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1.8rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        padding: 1rem 1.2rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 1rem 1.2rem;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 20px var(--shadow);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .theme-toggle {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.2rem 1.5rem;
    }

    .hero {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: calc(var(--section-gap) * 0.7) 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        font-size: 1rem;
    }

    .about-content {
        max-width: 100%;
    }

    .core-values {
        gap: 1rem;
    }
    
    .value-item {
        padding: 1rem 1.4rem;
        font-size: 1rem;
    }

    .history-timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: calc(100% - 30px);
        margin-left: 30px !important;
        margin-right: 0 !important;
        text-align: left;
    }
    
    .timeline-year {
        font-size: 1.1rem;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        padding: 2rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .final-cta {
        margin: 5rem auto;
        padding: 4rem 1.8rem;
    }

    .final-cta h2 {
        font-size: 2.2rem;
    }

    .final-cta p {
        font-size: 1.1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .timeline-item:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        padding: 1rem 1.2rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 1rem 1.2rem;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 20px var(--shadow);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .theme-toggle {
        margin-left: auto;
    }
    
    /* Blog Page Responsive */
    .blog-hero {
        padding: 6rem 1.5rem 4rem;
    }
    
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero-content p {
        font-size: 1.2rem;
    }
    
    .blog-filters {
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .newsletter-content {
        padding: 0 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: calc(var(--section-gap) * 0.6) 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 1rem 1.8rem;
        font-size: 0.95rem;
    }

    .section {
        padding: calc(var(--section-gap) * 0.5) 1rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .value-item {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .advantage-item {
        padding: 1.8rem 1.2rem;
    }

    .final-cta {
        margin: 4rem auto;
        padding: 3rem 1.5rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .features-list {
        gap: 0.8rem;
    }
    
    .feature-tag {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card h3 {
        font-size: 1.3rem;
    }
    
    /* Blog Page Mobile */
    .blog-hero {
        padding: 5rem 1rem 3rem;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .blog-content-section {
        padding: 4rem 1rem;
    }
    
    .blog-posts-grid {
        gap: 2rem;
    }
    
    .blog-post-content {
        padding: 1.5rem;
    }
    
    .blog-post-link h2 {
        font-size: 1.3rem;
    }
    
    .newsletter-section {
        padding: 4rem 1rem;
        margin: 4rem 0;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-content {
        padding: 0 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 12px;
    }
}