/* =====================================
   TEKSTAR TECHNOLOGIES
   PREMIUM FINTECH THEME
===================================== */

:root{
    --primary:#00D4FF;
    --secondary:#14F195;
    --dark:#050816;
    --card:#101828;
    --text:#ffffff;
    --gray:#cbd5e1;
}

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

body{
    font-family:'Poppins',sans-serif;
    background:var(--dark);
    color:var(--text);
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   NAVIGATION
========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:999;
    background:rgba(5,8,22,0.75);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.05);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:30px;
    font-weight:700;
    color:var(--primary);
    letter-spacing:2px;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:var(--primary);
}

.nav-btn{
    padding:12px 24px;
    background:var(--primary);
    color:black;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
}

/* ==========================
   HERO SECTION
========================== */
/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid #2563eb;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.15);
}

.hero-tagline {
    margin-top: 40px;
    font-size: 1rem;
    color: #60a5fa;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero p {
        font-size: 1rem;
    }
}
/* ==========================
   TICKER
========================== */

.ticker-wrapper{
    background:#07101f;
    overflow:hidden;
    white-space:nowrap;
    padding:15px 0;
    border-top:1px solid rgba(255,255,255,.05);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.ticker{
    display:inline-block;
    animation:ticker 25s linear infinite;
}

.ticker span{
    margin-right:80px;
    color:var(--secondary);
    font-weight:600;
}

@keyframes ticker{
    from{
        transform:translateX(100%);
    }
    to{
        transform:translateX(-100%);
    }
}

/* ==========================
   COMMON SECTION
========================== */

section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:var(--primary);
}

.section-title p{
    color:var(--gray);
    margin-top:10px;
}

/* ==========================
   CHART
========================== */

.chart-section{
    background:#07101f;
}

#candlestickCanvas{
    width:100%;
    height:450px;
    background:#0d1424;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.05);
}

/* ==========================
   ABOUT
========================== */

.about-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:center;
}

.about-grid h3{
    font-size:36px;
    margin-bottom:20px;
}

.about-grid p{
    color:var(--gray);
    line-height:1.8;
}

.stat-box{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:30px;
    margin-bottom:20px;
    text-align:center;
}

.stat-box h2{
    color:var(--primary);
    font-size:40px;
}

/* ==========================
   SERVICES
========================== */

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.service-card{
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.08);
    padding:30px;
    border-radius:20px;
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
}

.service-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

.service-card p{
    color:var(--gray);
}

/* ==========================
   TECHNOLOGY
========================== */

.tech-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.tech-grid div{
    background:#101828;
    padding:20px;
    border-radius:15px;
    text-align:center;
    border:1px solid rgba(255,255,255,.05);
    transition:.3s;
}

.tech-grid div:hover{
    border-color:var(--primary);
    transform:scale(1.05);
}

/* ==========================
   CONTACT
========================== */

.contact-form{
    max-width:700px;
    margin:auto;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px;
    margin-bottom:20px;
    background:#101828;
    color:white;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
}

.contact-form button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:10px;
    background:var(--primary);
    color:black;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

/* ==========================
   FOOTER
========================== */

footer{
    text-align:center;
    padding:50px 20px;
    background:#040610;
    border-top:1px solid rgba(255,255,255,.05);
}

footer h3{
    color:var(--primary);
    margin-bottom:10px;
}

footer p{
    color:var(--gray);
    margin:8px 0;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

    .hero h1{
        font-size:48px;
    }

    .hero p{
        font-size:18px;
    }

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

    nav ul{
        display:none;
    }
}

@media(max-width:600px){

    .hero h1{
        font-size:38px;
    }

    .section-title h2{
        font-size:32px;
    }

    .logo{
        font-size:22px;
    }

}
.market-video-container{
    width:100%;
    height:500px;
    overflow:hidden;
    border-radius:20px;
}

.market-video-container video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: translate(-50%, -50%);

    z-index: -3;

    animation: videoZoom 30s ease-in-out infinite alternate;
}
/* Smooth Scrolling */
html{
scroll-behavior:smooth;
scroll-padding-top:90px;
}

/* Fixed Header */
header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;
background:rgba(0,0,0,0.85);
backdrop-filter:blur(10px);
}

/* Prevent content hiding behind fixed header */
.hero{
padding-top:90px;
}
