@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root{

    /* COLORS */
    --abin0-primary:#11b7c8;
    --abin0-primary-hover:#11b2b0;

    --abin0-dark:#0d213a;
    --abin0-dark-light:#163252;

    --abin0-bg:#f4f7fb;
    --abin0-card:#ffffff;

    --abin0-border:#e6edf5;

    --abin0-text:#0d213a;
    --abin0-muted:#718096;

    /* EFFECTS */
    --abin0-radius:20px;

    --abin0-shadow:
            0 8px 28px rgba(13,33,58,.05);

    --abin0-shadow-hover:
            0 18px 44px rgba(13,33,58,.10);
}

body,
input,
button,
textarea,
select {
    font-family: 'Vazirmatn', sans-serif !important;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:#06192f;
    color:#fff;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

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

/* ========================= */
/* NAVBAR */
/* ========================= */

nav{
    position:absolute;
    top:0;
    right:0;
    width:100%;
    z-index:100;
    padding:30px 0;
}

.nav-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
}

.logo img{
    width:110px;
}

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.logo-text h2{
    font-size:28px;
    font-weight:700;
}

.logo-text span{
    font-size:13px;
    letter-spacing:4px;
    color:#9ab0c8;
}

.menu{
    display:flex;
    gap:45px;
    align-items:center;
}

.menu a{
    color:#dbe7f4;
    font-size:15px;
    transition:0.3s;
}

.menu a:hover{
    color:#12d6d0;
}

.nav-btn{
    background:#11b7c8;
    color:#fff;
    padding:14px 30px;
    border-radius:16px;
    font-weight:600;
    transition:0.3s;
}

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

/* ========================= */
/* HERO */
/* ========================= */

.hero{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.hero video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    top:0;
    left:0;
}

.overlay{
    position:absolute;
    inset:0;
    background:
            linear-gradient(
                    90deg,
                    rgba(2,15,30,0.4) 0%,
                    rgba(2,15,30,0.85) 45%,
                    rgba(2,15,30,0.97) 100%);
}

.hero-content{
    position:relative;
    z-index:10;
    width:100%;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* ========================= */
/* VIDEO BUTTON WITH IMAGE BACKGROUND (FIXED) */
/* ========================= */

.hero-left{
    display:flex;
    justify-content:center;
    position:relative;
    width:100%;
    height:420px;
    align-items:center;
}

/* 🌊 BIG BACKGROUND IMAGE (RIVER / LANDSCAPE) */
.hero-left::before{
    content:'';
    position:absolute;
    inset:0;
    background-image:url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=1600&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    border-radius:40px;
    filter:brightness(0.75) saturate(1.1);
    z-index:0;
}

/* soft dark overlay like SaaS design */
.hero-left::after{
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(circle at center, rgba(18,214,208,0.15), rgba(0,0,0,0.4));
    border-radius:40px;
    z-index:1;
}
.play-btn{
    width:120px;
    height:120px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 0 50px rgba(18,214,208,0.25);
    transition:0.3s;
    position:relative;
    z-index:3;
}

.play-btn:hover{
    transform:scale(1.05);
}

.play-btn::before{
    content:'▶';
    font-size:40px;
    margin-right:-8px;
    color:#fff;
}

.hero-right h1{
    font-size:72px;
    line-height:1.3;
    margin-bottom:25px;
    font-weight:800;
}

.hero-right h1 span{
    color:#11b7c8;
}

.hero-right p{
    color:#d0d9e5;
    font-size:18px;
    line-height:2.1;
    margin-bottom:40px;
    width:85%;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-primary{
    background:#11b7c8;
    padding:18px 34px;
    border-radius:18px;
    font-weight:700;
    color:#fff;
    transition:0.3s;
}

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

.btn-secondary{
    border:1px solid rgba(255,255,255,0.2);
    padding:18px 34px;
    border-radius:18px;
    color:#fff;
    background:rgba(255,255,255,0.04);
    backdrop-filter:blur(10px);
    transition:0.3s;
}

.btn-secondary:hover{
    background:rgba(255,255,255,0.08);
}

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

section{
    padding:120px 0;
}

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

.section-title h2{
    font-size:48px;
    margin-bottom:20px;
}

.section-title p{
    color:#9ab0c8;
    font-size:18px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.service-card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:30px;
    padding:40px 30px;
    transition:0.35s;
    backdrop-filter:blur(10px);
}

.service-card:hover{
    transform:translateY(-8px);
    border-color:rgba(18,214,208,0.4);
    box-shadow:0 20px 50px rgba(18,214,208,0.08);
}

.service-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    background:linear-gradient(135deg,#12d6d0,#0f9fa8);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:25px;
}

.service-card h3{
    margin-bottom:16px;
    font-size:24px;
}

.service-card p{
    line-height:2;
    color:#9ab0c8;
}

/* ========================= */
/* PRODUCTS */
/* ========================= */

.products{
    background:
            radial-gradient(circle at top right,#0f3f5b 0%,#07192f 40%);
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,320px));
    justify-content:center;
    gap:30px;
}

.product-card{
    background:#0d243d;
    border-radius:30px;
    overflow:hidden;
    transition:0.35s;
    border:1px solid rgba(255,255,255,0.05);
}

.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(18,214,208,0.1);
}

.product-image{
    height:240px;
    overflow:hidden;
    position:relative;
    background: #ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-image img{
    /*width:100%;*/
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:0.5s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-content{
    padding:30px;
}

.product-content h3{
    margin-bottom:15px;
    font-size:24px;
}

.product-content p{
    color:#9ab0c8;
    line-height:2;
    margin-bottom:25px;
}

.product-link{
    color:#12d6d0;
    font-weight:700;
}

/* ========================= */
/* STATS */
/* ========================= */

.stats{
    background:linear-gradient(135deg,#12d6d0,#0b6d7b);
    padding:70px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
}

.stat h2{
    font-size:56px;
    margin-bottom:10px;
}

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

/* ========================= */
/* CTA */
/* ========================= */

.cta{
    padding:140px 0;
    position:relative;
    overflow:hidden;
}

.cta-box{
    background:
            linear-gradient(
                    135deg,
                    rgba(18,214,208,0.12),
                    rgba(255,255,255,0.03));
    border:1px solid rgba(255,255,255,0.08);
    border-radius:40px;
    padding:90px;
    text-align:center;
    position:relative;
    overflow:hidden;
    backdrop-filter:blur(15px);
}

.cta-box::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(18,214,208,0.08);
    border-radius:50%;
    top:-250px;
    left:-200px;
    filter:blur(40px);
}

.cta-box h2{
    font-size:64px;
    margin-bottom:25px;
    position:relative;
    z-index:2;
}

.cta-box p{
    font-size:20px;
    color:#c8d4e2;
    margin-bottom:40px;
    position:relative;
    z-index:2;
}

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

footer{
    background:#04111f;
    padding:80px 0 40px;
    border-top:1px solid rgba(255,255,255,0.05);
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
    margin-bottom:60px;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.footer-logo img{
    width:55px;
}

.footer-about p{
    line-height:2.2;
    color:#9ab0c8;
    width:85%;
}

.footer-col h3{
    margin-bottom:25px;
    font-size:22px;
}

.footer-col a{
    display:block;
    color:#9ab0c8;
    margin-bottom:14px;
    transition:0.3s;
}

.footer-col a:hover{
    color:#12d6d0;
}

.copyright{
    border-top:1px solid rgba(255,255,255,0.05);
    padding-top:35px;
    text-align:center;
    color:#6d8096;
}

.login-btn{
    margin-left: 3rem;
    color: #dbe7f4;
}

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

@media(max-width:1100px){

    .hero-grid,
    .footer-grid,
    .services-grid,
    .products-grid,
    .stats-grid{
        grid-template-columns:1fr 1fr;
    }

    .hero-right h1{
        font-size:52px;
    }

    .login-btn{
        margin-left: 1.5rem;
    }
}

@media(max-width:768px){

    .menu{
        display:none;
    }

    .hero-grid,
    .services-grid,
    .products-grid,
    .stats-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .hero{
        text-align:center;
    }

    .hero-right p{
        width:100%;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-right h1{
        font-size:42px;
    }

    .cta-box{
        padding:50px 30px;
    }

    .cta-box h2{
        font-size:40px;
    }

    .login-btn{
        margin-left: 1.5rem;
    }

    .btn-block{
        display: block;
        margin-bottom: 15px;
    }

    .video-iframe{
        width: 90%;
        margin: auto;
    }
}

.flash-buy{
    display: inline-block;
    cursor: pointer;
}

.flash-buy-btn{
    background: var(--abin0-primary);
    border: none;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

.flash-buy-btn {
    position: relative;
}

.flash-buy-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

a.btn-secondary.btn-dark{
    background-color: var(--abin0-dark);
}

.p-white{
  color: white !important;
}

iframe{
    width: 100%;
    border: none;
    border-radius: 40px;
    background: radial-gradient(circle at center, rgba(18,214,208,0.15), rgba(0,0,0,0.4));
}