/* ============================================
   ONETWOWEB - Modern Light Design System v2.0
   Brand Color: #ff611d (Deep Orange)
   Clean, professional, conversion-focused
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css');

:root {
    /* ===== Brand Colors ===== */
    --accent: #ff611d;
    --accent-light: #ff7a3e;
    --accent-dark: #e54d0a;
    --accent-bg: rgba(255, 97, 29, 0.08);
    --accent-bg-hover: rgba(255, 97, 29, 0.12);
    --accent-border: rgba(255, 97, 29, 0.2);
    
    /* Gradients with brand color */
    --gradient-main: linear-gradient(135deg, #ff611d 0%, #e54d0a 50%, #c73d00 100%);
    --gradient-hero: linear-gradient(135deg, #fff5f0 0%, #ffe8e0 50%, #fff0ea 100%);
    --gradient-card: linear-gradient(135deg, #ff611d, #e54d0a);
    --gradient-cta: linear-gradient(135deg, #ff611d 0%, #d94303 100%);
    
    /* Shadows with brand color */
    --shadow-accent-sm: 0 2px 8px rgba(255, 97, 29, 0.12);
    --shadow-accent-md: 0 4px 16px rgba(255, 97, 29, 0.18);
    --shadow-accent-lg: 0 8px 30px rgba(255, 97, 29, 0.22);
    --shadow-accent-xl: 0 12px 40px rgba(255, 97, 29, 0.28);
    
    /* Background colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFBFC;
    
    /* Borders */
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    
    /* Secondary colors */
    --green: #10B981;
    --green-bg: rgba(16, 185, 129, 0.08);
    --green-border: rgba(16, 185, 129, 0.2);
    --amber: #F59E0B;
    --amber-bg: rgba(245, 158, 11, 0.08);
    --red: #EF4444;
    --red-bg: rgba(239, 68, 68, 0.08);
    
    /* Text colors */
    --text-primary: #212529;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

::selection {
    background: rgba(255, 97, 29, 0.12);
    color: var(--accent-dark);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #ffd9cc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ffb899; }

a { 
    color: var(--accent); 
    text-decoration: none; 
    transition: var(--transition); 
}
a:hover { 
    color: var(--accent-dark); 
}

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { 
    color: var(--accent); 
}
.text-accent-dark { 
    color: var(--accent-dark); 
}
.text-secondary { 
    color: var(--text-secondary); 
}
.text-muted { 
    color: var(--text-muted); 
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.navbar-brand .logo-img {
    height: 32px;
    width: auto;
}

.navbar-brand .brand-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--accent-bg);
}

.nav-links a.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-accent-sm);
}

.nav-links a.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent-md);
    color: #fff;
}

/* Active nav link */
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-bg);
    font-weight: 600;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--accent-bg);
    color: var(--accent);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.925rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    line-height: 1.4;
}

.btn i { font-size: 0.9em; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent-sm);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-md);
    color: #fff;
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: var(--shadow-accent-sm);
    border: none;
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-lg);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--accent);
    box-shadow: var(--shadow-md);
    border: none;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--accent-dark);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-xs { padding: 6px 12px; font-size: 0.75rem; border-radius: var(--radius-sm); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.65rem);
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
}

.card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: var(--accent-bg);
    color: var(--accent);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent-sm);
}

.card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.card h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; margin: 0; }

.card .card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 10px;
}

.card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 18px;
    display: block;
}

/* Service Card Features */
.features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features li i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 97, 29, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 97, 29, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: -2px;
    animation: fadeInUp 0.6s ease 0.1s both;
    color: var(--text-primary);
}

.hero p {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 38px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 64px;
    animation: fadeInUp 0.6s ease 0.4s both;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}
.hero-stat .number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -1px;
}
.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* Hero decorative elements */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 97, 29, 0.04) 0%, transparent 70%);
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -5%;
    background: radial-gradient(circle, rgba(255, 97, 29, 0.03) 0%, transparent 70%);
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-section {
    background: var(--bg-secondary);
}

.calculator-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 44px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.calc-field {
    display: flex;
    flex-direction: column;
}

.calc-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-field select,
.calc-field input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    cursor: pointer;
}

.calc-field select:focus,
.calc-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
    background: #fff;
}

.calc-result-box {
    text-align: center;
    padding: 36px 0 0;
    border-top: 2px solid var(--border-light);
    margin-top: 32px;
}

.calc-result-box .final-price {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.calc-result-box .old-price {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.calc-result-box .hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.promo-input {
    display: flex;
    gap: 10px;
}

.promo-input input { flex: 1; }

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    color: var(--accent-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin: 5px;
}

.promo-badge:hover {
    background: rgba(255, 97, 29, 0.12);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent-sm);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    border-color: var(--accent-border);
    transform: translateY(-6px);
    box-shadow: var(--shadow-accent-md);
}

.portfolio-item .thumb {
    height: 220px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--border-color);
    position: relative;
    overflow: hidden;
}

.portfolio-item .thumb img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover .thumb img {
    transform: scale(1.05);
}

.portfolio-item .info {
    padding: 22px;
}

.portfolio-item .info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.portfolio-item .info .tag {
    display: inline-block;
    font-size: 0.72rem;
    background: var(--accent-bg);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.portfolio-item .info .client {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   STEPS / PROCESS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-accent-md);
    transform: translateY(-4px);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 auto 18px;
    background: var(--accent-bg);
    color: var(--accent);
    transition: var(--transition);
}

.step-card:hover .step-number {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent-sm);
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #e54d0a 0%, #ff611d 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section .gradient-text {
    background: linear-gradient(135deg, #ff611d, #ff9a6e);
    -webkit-background-clip: text;
    background-clip: text;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.cta-content h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-form {
    max-width: 540px;
    margin: 0 auto;
    text-align: left;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 97, 29, 0.15);
}

.cta-form .btn-white {
    background: var(--accent);
    color: #fff;
    border: none;
}

.cta-form .btn-white:hover {
    background: var(--accent-dark);
    box-shadow: var(--shadow-accent-md);
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
}

.promo-banner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--accent-dark);
}

.promo-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}

.blog-card:hover {
    color: inherit;
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent-md);
}

.blog-card .date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-card h4:hover {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-primary);
    color: #fff;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo-img {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 97, 29, 0.1);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
}

.chat-toggle {
    width: 58px;
    height: 58px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-accent-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.06);
    background: var(--accent-dark);
    box-shadow: var(--shadow-accent-xl);
}

.chat-toggle .pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse-ring 2s infinite;
}

.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.chat-window.open { display: flex; }

.chat-window .chat-header {
    background: var(--gradient-main);
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.chat-window .chat-header span { font-weight: 600; font-size: 0.95rem; }
.chat-window .chat-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.2rem; opacity: 0.8; transition: opacity 0.2s; }
.chat-window .chat-header button:hover { opacity: 1; }

.chat-window .chat-body {
    padding: 20px;
    height: 340px;
    overflow-y: auto;
    background: var(--bg-secondary);
}

.chat-window .chat-body .msg {
    margin-bottom: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    max-width: 85%;
    line-height: 1.55;
    word-wrap: break-word;
}

.chat-window .chat-body .msg.operator {
    background: var(--accent);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.chat-window .chat-body .msg.client {
    background: #fff;
    color: var(--text-primary);
    margin-left: auto;
    border: 1px solid var(--border-color);
    border-bottom-right-radius: 4px;
}

.chat-window .chat-input {
    padding: 14px 18px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    background: #fff;
}

.chat-window .chat-input input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    transition: var(--transition);
}

.chat-window .chat-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-bg);
}

.chat-window .chat-input button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-window .chat-input button:hover {
    background: var(--accent-dark);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
}

.page-header .breadcrumb a {
    color: var(--text-secondary);
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
}

.page-header .breadcrumb .current {
    color: var(--accent);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ============================================
   INNER PAGE NAV
   ============================================ */
.page-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.page-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-nav .brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.page-nav .brand .accent { 
    color: var(--accent); 
}

/* ============================================
   BLOG DETAIL PAGE
   ============================================ */
.article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 36px 0 16px;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 28px 0 12px;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a:not(.btn) {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:not(.btn):hover {
    color: var(--accent-dark);
}

.article-content img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--accent-bg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.article-meta .sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* ============================================
   CONTACTS PAGE
   ============================================ */
.contact-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-accent-md);
}

.contact-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p, .contact-card a {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.contact-card a:hover {
    color: var(--accent);
}

/* ============================================
   PORTOFOLIO PAGE (inner)
   ============================================ */
.portfolio-page-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-page-item:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-accent-md);
    transform: translateY(-4px);
}

.portfolio-page-item .card-img-placeholder {
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

.portfolio-page-item .card-body {
    padding: 22px;
}

.portfolio-page-item .btn-outline-sm {
    font-size: 0.8rem;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.portfolio-page-item .btn-outline-sm:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

/* ============================================
   404 PAGE
   ============================================ */
.not-found-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    text-align: center;
    padding: 40px 20px;
}

.not-found-page .code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -5px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.not-found-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.not-found-page p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

.pagination .page-link.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-btn:hover {
    color: var(--accent);
    background: var(--accent-bg);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }

    .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 12px 24px 28px;
        gap: 6px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    .mobile-toggle { display: block; }

    .hero {
        min-height: auto;
        padding: 130px 0 60px;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 28px; }
    .hero-stat .number { font-size: 1.8rem; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .calc-row { grid-template-columns: 1fr; }

    .calculator-card { padding: 28px 20px; }
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }

    .hero-actions { flex-direction: column; align-items: center; }

    .chat-window { width: calc(100vw - 40px); right: -10px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.75rem; letter-spacing: -0.5px; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 1.5rem; }
    .section-header h2 { font-size: 1.65rem; }
    .card { padding: 28px 22px; }
    .chat-window { width: calc(100vw - 24px); right: -4px; }
}

/* ============================================
   MODERN SERVICE PAGE
   ============================================ */
.service-card-modern {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card-modern:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-accent-md);
    transform: translateY(-4px);
}

.service-card-modern .service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card-modern h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card-modern p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    flex: 1;
}

.service-card-modern .service-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 20px;
}

.service-card-modern .service-btn {
    margin-top: 16px;
}

/* ============================================
   BLOG LIST MODERN
   ============================================ */
.blog-list-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-list-item:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-accent-md);
    transform: translateY(-4px);
}

.blog-list-item .blog-img-placeholder {
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2.5rem;
}

.blog-list-item .blog-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-item .blog-body {
    padding: 22px;
}

.blog-list-item .blog-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.blog-list-item .blog-body h5 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-list-item .blog-body h5 a:hover {
    color: var(--accent);
}

.blog-list-item .blog-body .blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    margin-bottom: 4px;
}

.blog-category-list a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.blog-category-list a:hover,
.blog-category-list a.active {
    background: var(--accent-bg);
    color: var(--accent);
}

.blog-category-list a .count {
    float: right;
    opacity: 0.6;
}

/* ============================================
   CONTACT PAGE MODERN
   ============================================ */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-accent-md);
}

.contact-info-card .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

/* ============================================
   ALERTS / NOTIFICATIONS
   ============================================ */
.alert-success {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: #059669;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.alert-info {
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    color: var(--accent-dark);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--accent);
    font-weight: 500;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-bg);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   TOOLTIPS
   ============================================ */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--text-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1000;
}

[data-tooltip]:hover:before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}