/* style.css - Premium Luxury Design for Standeg.com */

/* =========================================
   CSS Custom Properties (Design Tokens)
   ========================================= */
:root {
    /* Premium Color Palette */
    --primary: #0a0a0a;
    --primary-hover: #1a1a2e;
    --secondary: #ffffff;
    --bg-main: #fafbff;
    --bg-light: #f0f4ff;
    --bg-dark: #0b1120;
    --text-main: #1a1a2e;
    --text-muted: #6b7a99;
    --accent: #4f46e5;
    --accent-light: #818cf8;
    --accent-dark: #3730a3;
    --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(79,70,229,0.08) 0%, rgba(168,85,247,0.08) 100%);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    --success: #10b981;
    --border-color: rgba(79, 70, 229, 0.08);
    --border-accent: rgba(79, 70, 229, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Typography */
    --font-family: 'Cairo', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(79, 70, 229, 0.06);
    --shadow-md: 0 8px 30px rgba(79, 70, 229, 0.1);
    --shadow-hover: 0 20px 50px rgba(79, 70, 229, 0.15);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.2);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(79,70,229,0.06);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   Layout Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4 {
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Buttons (Premium)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.45);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-accent);
    color: var(--accent);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.25);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.15rem 2.8rem;
    font-size: 1.15rem;
}

/* =========================================
   Header (Glassmorphism)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 251, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(79, 70, 229, 0.06);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(250, 251, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
}

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

.logo img {
    height: 88px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

.text-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================
   Hero Section (Animated & Bold)
   ========================================= */
.hero {
    padding: 9rem 0 5rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-main);
}

/* Animated gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1.3;
}

.hero-text h1 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--primary);
}

.hero-text h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    background: var(--accent-gradient);
    border-radius: 50%;
    top: -5%;
    left: -5%;
    z-index: -1;
    opacity: 0.08;
    filter: blur(60px);
}

.main-hero-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -15px rgba(79, 70, 229, 0.2);
    transform: perspective(1200px) rotateY(-4deg);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.5);
}

.main-hero-img:hover {
    transform: perspective(1200px) rotateY(0deg) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(79, 70, 229, 0.3);
}

/* =========================================
   Features (Glass Cards)
   ========================================= */
.features {
    padding: 7rem 0;
    position: relative;
    background: var(--bg-light);
}

.features::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--accent-gradient-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* =========================================
   Products (Premium Cards)
   ========================================= */
.products {
    padding: 7rem 0;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168,85,247,0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 0;
    right: -100px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(79, 70, 229, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: rgba(79, 70, 229, 0.15);
}

.product-img-wrapper {
    height: 280px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-info {
    padding: 2rem 1.8rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.product-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .btn {
    margin-top: auto;
}

.custom-size-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.25);
    position: relative;
    z-index: 1;
}

/* =========================================
   Stand Gallery (Masonry-like)
   ========================================= */
.gallery {
    padding: 7rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    aspect-ratio: 4/3;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
    min-width: 0;
    min-height: 0;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.hidden-gallery-item {
    display: none;
}

/* Gallery Load More */
.gallery-load-more {
    text-align: center;
    margin-top: 2.5rem;
}

/* =========================================
   Services (Dark Premium)
   ========================================= */
.services {
    padding: 7rem 0;
}

.bg-dark {
    background: linear-gradient(135deg, #0b1120 0%, #1a1145 50%, #0b1120 100%);
    position: relative;
    overflow: hidden;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(79,70,229,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168,85,247,0.1) 0%, transparent 50%);
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

/* Animated particles effect */
.bg-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.15) 50%, transparent 50%),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.1) 50%, transparent 50%),
        radial-gradient(2px 2px at 70% 30%, rgba(255,255,255,0.12) 50%, transparent 50%),
        radial-gradient(2px 2px at 90% 60%, rgba(255,255,255,0.08) 50%, transparent 50%);
    z-index: 0;
}

.text-white {
    color: #e2e8f0;
}

.text-white h2 {
    color: white;
}

.services-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.services-text {
    flex: 1;
}

.services-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.services-text p {
    font-size: 1.15rem;
    color: #b4bfda;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-list {
    margin-bottom: 2rem;
}

.service-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-tag {
    background: rgba(79, 70, 229, 0.1);
    padding: 1.8rem 2rem;
    border-radius: var(--radius-lg);
    display: inline-block;
    border: 1px solid rgba(79, 70, 229, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.price-tag .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-tag .period {
    font-size: 1.1rem;
    color: #cbd5e1;
}

.price-tag .renewal {
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.services-image {
    flex: 1;
}

.browser-mockup {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.browser-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 0.9rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

/* =========================================
   Portfolio
   ========================================= */
.portfolio {
    padding: 7rem 0;
    background: var(--bg-main);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: white;
    border-color: transparent;
}

.portfolio-item:hover::before {
    opacity: 1;
}

/* Keep text above gradient */
.portfolio-item {
    isolation: isolate;
}

/* =========================================
   Footer (Premium Dark)
   ========================================= */
.footer {
    background: linear-gradient(180deg, #020617 0%, #0b1120 100%);
    color: #94a3b8;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.text-logo-footer {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 320px;
    font-size: 1rem;
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-right: 6px;
}

.footer-contact p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    font-size: 0.9rem;
}

/* =========================================
   Modal (Polished & Mobile-Friendly)
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(11, 17, 32, 0.7); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--secondary);
    margin: auto;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

@keyframes modalSlideIn {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    color: #94a3b8;
    font-size: 28px;
    font-weight: normal;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
    background: var(--accent-gradient-subtle);
}

.modal h3 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    color: var(--text-main);
}

.modal-price {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.total-price-display {
    font-size: 1.15rem;
    font-weight: bold;
    text-align: center;
    background: var(--accent-gradient-subtle);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

#totalPriceCalc {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    font-weight: 800;
}

/* =========================================
   Hamburger Menu Button
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   Nav Overlay (Mobile)
   ========================================= */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.nav-overlay.show {
    display: block;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(79, 70, 229, 0.5); }
}

/* Scroll-triggered animations */
.feature-card,
.product-card,
.gallery-item,
.portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }

/* =========================================
   Responsive - Tablets (max-width: 992px)
   ========================================= */
@media (max-width: 992px) {
    .hero-container, .services-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--secondary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        z-index: 1050;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 0;
        font-size: 1.15rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .services-text h2 {
        font-size: 2.2rem;
    }
    
    .price-tag {
        display: block;
        text-align: center;
    }
}

/* =========================================
   Responsive - Mobile (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }
    
    .hero::before,
    .hero::after {
        width: 250px;
        height: 250px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-image img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .main-hero-img {
        transform: none;
        border-radius: var(--radius-lg);
    }
    
    .main-hero-img:hover {
        transform: scale(1.02);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .features, .products, .gallery, .services, .portfolio {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.05rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-img-wrapper {
        height: 220px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
        border-radius: var(--radius-sm);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .portfolio-item {
        padding: 1.5rem 1rem;
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    /* Modal Mobile */
    .modal {
        padding: 0.5rem;
        align-items: flex-start;
    }
    
    .modal-content {
        width: 100%;
        padding: 1.5rem;
        margin: 0.5rem auto;
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: var(--radius-md);
    }
    
    .modal h3 {
        font-size: 1.3rem;
        padding-left: 2.5rem;
    }
    
    .modal-price {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .form-control {
        padding: 0.8rem 1rem;
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    .total-price-display {
        padding: 0.8rem;
        margin-top: 1rem;
        font-size: 1rem;
    }
    
    #totalPriceCalc {
        font-size: 1.3rem;
    }
    
    .close-modal {
        width: 36px;
        height: 36px;
        font-size: 22px;
        top: 0.8rem;
        left: 1rem;
    }
    
    .btn-lg {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    /* Services section mobile */
    .services-text h2 {
        font-size: 1.8rem;
    }
    
    .services-text p {
        font-size: 1rem;
    }
    
    .browser-mockup {
        border-radius: var(--radius-md);
    }
}

/* =========================================
   Responsive - Small Mobile (max-width: 480px)
   ========================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .header {
        padding: 0.7rem 0;
    }
    
    .logo img {
        height: 36px;
    }
    
    .product-price {
        font-size: 1.6rem;
    }
    
    .price-tag .price {
        font-size: 2rem;
    }
}
