/* =====================================================
   SIDRA AUTONOMY - Main Stylesheet
   Modern, Professional, Innovative Design
   ===================================================== */

/* -------------------- CSS Variables -------------------- */
:root {
    /* Colors */
    --primary: #00D4FF;
    --primary-dark: #00A8CC;
    --secondary: #7B2FFF;
    --accent: #FF2FD4;
    --success: #00FF88;
    --warning: #FFB800;
    --danger: #FF3366;
    
    /* Dark Theme */
    --bg-dark: #0A0B0E;
    --bg-darker: #050507;
    --bg-card: #12141A;
    --bg-card-hover: #1A1D26;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #7B2FFF 100%);
    --gradient-secondary: linear-gradient(135deg, #7B2FFF 0%, #FF2FD4 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.3);
}

/* -------------------- Reset & Base -------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* -------------------- Container -------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* -------------------- Links -------------------- */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-primary);
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    color: var(--bg-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* -------------------- Navigation -------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 11, 14, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.footer-logo-img {
    height: 32px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.logo-text .accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link i {
    font-size: 0.75rem;
    margin-left: 4px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--bg-card-hover);
    color: var(--primary);
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-content a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-menu-content a:hover {
    color: var(--primary);
}

/* -------------------- Hero Section -------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(123, 47, 255, 0.08) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 32px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.hero h1 .highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 600px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Floating elements */
.hero-float {
    position: absolute;
    pointer-events: none;
}

.hero-float-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 47, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* -------------------- Section Styles -------------------- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(123, 47, 255, 0.1);
    border: 1px solid rgba(123, 47, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* -------------------- Tech Stack Section -------------------- */
.tech-section {
    background: var(--bg-darker);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.tech-card {
    position: relative;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    font-size: 1.75rem;
    color: var(--bg-dark);
    margin-bottom: 24px;
}

.tech-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.tech-card .tech-subtitle {
    font-size: 0.9375rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.tech-card p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.tech-detail {
    padding: 16px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.tech-message {
    margin-top: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

/* -------------------- Sensor Fusion Section -------------------- */
.sensor-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sensor-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.sensor-card:hover {
    transform: translateY(-4px);
    border-color: var(--sensor-color, var(--primary));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.sensor-card.camera { --sensor-color: #00D4FF; }
.sensor-card.lidar { --sensor-color: #00FF88; }
.sensor-card.radar { --sensor-color: #FF8800; }

.sensor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sensor-color), 0.1);
    border: 2px solid var(--sensor-color, var(--primary));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--sensor-color, var(--primary));
}

.sensor-card h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.sensor-card p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.sensor-capability {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.sensor-fusion-visual {
    margin-top: 48px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
}

.fusion-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.fusion-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.fusion-highlight {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: 8px;
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 1.125rem;
}

/* -------------------- Philosophy Section -------------------- */
.philosophy-section {
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(123, 47, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.philosophy-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 32px;
}

.philosophy-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.philosophy-quote {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 40px 0;
}

.philosophy-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
}

.philosophy-slogan {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------------------- Roadmap Section -------------------- */
.roadmap-section {
    background: var(--bg-darker);
}

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
}

.roadmap-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.roadmap-item:nth-child(odd) .roadmap-content {
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.roadmap-item:nth-child(even) .roadmap-content {
    padding-left: 60px;
}

.roadmap-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.roadmap-marker i {
    font-size: 1.125rem;
    color: var(--primary);
}

.roadmap-item.completed .roadmap-marker {
    background: var(--gradient-primary);
    border-color: transparent;
}

.roadmap-item.completed .roadmap-marker i {
    color: var(--bg-dark);
}

.roadmap-item.in-progress .roadmap-marker {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
}

.roadmap-content {
    flex: 1;
}

.roadmap-phase {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.roadmap-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.roadmap-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

.roadmap-status {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.roadmap-status.completed {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.roadmap-status.in-progress {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.roadmap-status.upcoming {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* -------------------- Specs Section -------------------- */
.specs-section {
    background: var(--bg-dark);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.spec-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.spec-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.spec-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--primary);
}

.spec-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.spec-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* -------------------- Blog Section -------------------- */
.blog-section {
    background: var(--bg-darker);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.blog-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--bg-dark);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 28px;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* -------------------- Contact Section -------------------- */
.contact-section {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 32px;
    font-size: 1.0625rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-method-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-method-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form {
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* -------------------- Footer -------------------- */
.footer {
    position: relative;
    background: var(--bg-darker);
    padding: 80px 0 32px;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-slogan {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-newsletter p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 16px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* -------------------- Alerts / Messages -------------------- */
.messages-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert {
    padding: 16px 48px 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.alert-success {
    border-color: var(--success);
    background: rgba(0, 255, 136, 0.1);
}

.alert-error {
    border-color: var(--danger);
    background: rgba(255, 51, 102, 0.1);
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* -------------------- Page Headers -------------------- */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-darker);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-primary);
}

/* -------------------- CTA Section -------------------- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 47, 255, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .sensor-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .roadmap-timeline::before {
        left: 24px;
    }
    
    .roadmap-item,
    .roadmap-item:nth-child(odd) {
        flex-direction: column;
        padding-left: 72px;
    }
    
    .roadmap-item .roadmap-content,
    .roadmap-item:nth-child(odd) .roadmap-content {
        text-align: left;
        padding: 0;
    }
    
    .roadmap-marker {
        left: 24px;
        transform: translateX(-50%);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-form {
        padding: 24px;
    }
}

/* =====================================================
   PROFESSIONAL POPUP MODAL
   ===================================================== */

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Modal */
.popup-modal {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 212, 255, 0.1);
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.popup-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    transform: rotate(90deg);
}

/* Popup Content (Left Side) */
.popup-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Popup Icon */
.popup-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.popup-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--bg-dark);
    z-index: 2;
}

.popup-icon-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: popupRing 2s ease-in-out infinite;
}

@keyframes popupRing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

/* Popup Title */
.popup-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Popup Description */
.popup-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Popup Form */
.popup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.popup-form-group {
    position: relative;
}

.popup-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.popup-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.popup-input::placeholder {
    color: var(--text-muted);
}

.popup-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.popup-input:focus + .popup-input-icon {
    color: var(--primary);
}

/* Submit Button */
.popup-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-dark);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.popup-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.popup-submit:hover::before {
    left: 100%;
}

.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.popup-submit i {
    transition: transform 0.3s ease;
}

.popup-submit:hover i {
    transform: translateX(5px);
}

/* Success State */
.popup-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: popupFadeIn 0.5s ease;
}

.popup-success.show {
    display: flex;
}

.popup-form.hide {
    display: none;
}

.popup-success-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--bg-dark);
    margin-bottom: 20px;
    animation: popupSuccessBounce 0.6s ease;
}

@keyframes popupSuccessBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.popup-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.popup-success p {
    color: var(--text-secondary);
}

/* Popup Features */
.popup-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.popup-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.popup-feature i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Footer Text */
.popup-footer-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.popup-footer-text strong {
    color: var(--primary);
}

/* Popup Visual (Right Side) */
.popup-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.15;
}

.popup-visual-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(123, 47, 255, 0.3) 0%, transparent 50%);
    animation: popupVisualRotate 20s linear infinite;
}

@keyframes popupVisualRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popup-visual-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    text-align: center;
}

/* Popup Stats */
.popup-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.popup-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.popup-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Visual Tagline */
.popup-visual-tagline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup-visual-tagline span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.popup-visual-tagline span:first-child {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Popup Animation */
@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-modal {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .popup-visual {
        display: none;
    }
    
    .popup-content {
        padding: 40px 24px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-features {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .popup-close {
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 32px 20px;
    }
    
    .popup-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

