/* ========================================
   Vexonet — White Professional Theme
   ======================================== */

:root {
    --bg: #ffffff;
    --bg2: #f8f9fa;
    --card: #ffffff;
    --border: #e9ecef;
    --border-hover: #dee2e6;
    --text: #1a1a2e;
    --text2: #495057;
    --text3: #868e96;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-glow: rgba(79, 70, 229, 0.1);
    --green: #10b981;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: #fff;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    color: var(--text2);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Navbar
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.links {
    display: flex;
    gap: 8px;
}

.links a {
    color: var(--text2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 72px;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text2);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text2);
}

.hero-stat i {
    color: var(--primary);
    font-size: 18px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--primary-glow);
}

.btn.primary i {
    transition: transform 0.3s;
}

.btn.primary:hover i {
    transform: translateX(-4px);
}

.btn.outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn.outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn.full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   About
   ======================================== */

.about {
    background: var(--bg);
}

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

.about-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text);
}

.about-content .lead {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    color: var(--text2);
    font-size: 16px;
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.stat-plus {
    font-size: 20px;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text3);
    margin-top: 4px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    font-size: 100px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.visual-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 20px 20px;
}

/* ========================================
   Products
   ======================================== */

.products {
    background: var(--bg2);
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-glow), transparent);
    border-radius: 50%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 28px;
}

.product-badge i {
    font-size: 12px;
}

.product-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 4px;
    color: var(--text);
}

.product-subtitle {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-desc {
    color: var(--text2);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text2);
}

.product-features li i {
    color: var(--green);
    font-size: 14px;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================================
   Why Us
   ======================================== */

.why {
    background: var(--bg);
}

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

.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 20px;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

.why-card p {
    color: var(--text2);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   Contact
   ======================================== */

.contact {
    background: var(--bg2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-info > p {
    color: var(--text2);
    font-size: 16px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 2px;
}

.info-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* Form */
.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text2);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23868e96' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: #1a1a2e;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin: 16px 0 24px;
    max-width: 300px;
    line-height: 1.7;
}

.social {
    display: flex;
    gap: 12px;
}

.social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

.social a:hover {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 6px 0;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col a:hover {
    color: #fff;
    padding-right: 6px;
}

.footer-col a i {
    width: 16px;
    font-size: 14px;
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* ========================================
   Toast
   ======================================== */

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--green);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content { order: 2; }
    .about-visual { order: 1; }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-content {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    
    .links, .nav-btn { display: none; }
    
    .toggle { display: flex; }
    
    .links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }
    
    .links.active a {
        font-size: 22px;
        padding: 12px 24px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .about-content { text-align: center; }
    .about-content h2 { font-size: 28px; }
    .about-stats { justify-content: center; }
    .about-visual { order: -1; }
    .visual-box { width: 200px; height: 200px; border-radius: 24px; }
    .visual-icon { font-size: 60px; }
    
    .product-card { padding: 32px; }
    .product-features { grid-template-columns: 1fr; }
    
    .why-grid { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .hero h1 { font-size: 32px; }
}