/* ===================================
   TEDXOZ - PREMIUM STATIC WEBSITE
   Base Styles & Layout
   =================================== */

:root {
    /* Color Palette */
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3384FF;
    --secondary-color: #FF3366;
    --accent-color: #00D9FF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FF3366 0%, #FF6B9D 100%);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #1a1a2e 100%);
    
    /* Neutrals */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(26, 26, 46, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0c8;
    --text-muted: #6b6b7f;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===================================
   RESET & BASE
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

.brand-logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    padding: 10px 24px;
    border-radius: 24px;
    color: white !important;
    font-weight: 600;
}

.cta-button::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    height: 100vh;
    min-height: 630px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/city-bus-bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 30%) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 217, 255, 30%) 0%, transparent 40%),
                linear-gradient(135deg, rgba(10, 10, 15, 0.7) 0%, rgba(26, 26, 46, 0.6) 100%);
    z-index: 2;
}

.hero-midlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><circle cx="600" cy="400" r="300" fill="rgba(0,102,255,0.03)"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.5);
}

.secondary-btn {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

.section-title {
    font-size: clamp(36px, 5vw, 50px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 64px;
    font-weight: 400;
}

.text-center {
    text-align: center;
}

/* ===================================
   PRODUCT STORY SECTION
   =================================== */

.product-story {
    background: var(--bg-darker);
    position: relative;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

.layer-1 {
    background: radial-gradient(circle at 30% 50%, var(--primary-color) 0%, transparent 50%);
}

.layer-2 {
    background: radial-gradient(circle at 70% 50%, var(--accent-color) 0%, transparent 50%);
}

.story-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.story-block {
    flex: 1;
    padding: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    min-height: 320px;
    align-self: stretch;
}

.story-icon {
    font-size: 42px;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin-right: 12px;
    vertical-align: middle;
    flex-shrink: 0;
}

.problem-icon {
    background: rgba(255, 51, 102, 0.1);
    border-color: rgba(255, 51, 102, 0.3);
}

.solution-icon {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
}

.story-content {
    flex: 1;
}

.story-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0.5;
    flex-shrink: 0;
}

.connector-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.connector-arrow {
    font-size: 32px;
    color: var(--accent-color);
    font-weight: bold;
}

.story-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 24px;
    text-align: justify;
}

/* ===================================
   HARDWARE SECTION
   =================================== */

.hardware-section {
    background: var(--bg-dark);
}

.hardware-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 64px;
}

.hardware-device {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    width: 350px;
    height: 550px;
    background: transparent;
    border-radius: 32px;
    padding: 0;
    box-shadow: 0 20px 60px #0066ffd9, 0 0 0 1px #ffffffc4;
    position: relative;
    overflow: hidden;
    padding: 6px;
}

.device-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.hardware-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    padding: 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   PAYMENT SECTION
   =================================== */

.payment-section {
    background: var(--bg-darker);
    position: relative;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.payment-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.qr-mockup {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.qr-code {
    width: 430px;
    height: 430px;
    object-fit: contain;
    border-radius: 8px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: scan 2s infinite;
}

.payment-apps {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.payment-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0.95);
}

.payment-logo:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.payment-headline {
    font-size: 32px;
    font-weight: 700;
    margin: 16px 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.payment-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-benefits li {
    font-size: 16px;
    color: var(--text-secondary);
    padding-left: 8px;
}

/* ===================================
   MONITORING SECTION
   =================================== */

.monitoring-section {
    background: var(--bg-dark);
}

.monitoring-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 64px;
}

.phone-mockup {
    width: 350px;
    height: 550px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 6px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px #0066ffd9, 0 0 0 1px #ffffffc4;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.monitoring-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.monitor-feature h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.monitor-feature p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* ===================================
   WHY SECTION
   =================================== */

.why-section {
    background: var(--bg-darker);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.why-card {
    padding: 40px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-icon {
    font-size: 48px;
}

.why-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 24px 0 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 24px;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--bg-darker);
    padding: 60px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}
