/**
 * Web1500 - Premium Frontend Style Sheet
 * Advanced SEO Optimized & Extreme Mobile Responsive Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Prompt:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #030712; /* Deeper black for ultimate OLED contrast */
    --bg-card: rgba(15, 23, 42, 0.45); /* Sleeker transparency */
    --bg-card-hover: rgba(30, 41, 59, 0.6);
    --color-primary: #f8fafc;
    --color-secondary: #cbd5e1; /* Brightened from #94a3b8 for crisp premium legibility */
    --brand-blue: #0060f0;
    --brand-cyan: #0888ff;
    --brand-orange: #ff7e00;
    --brand-glow: rgba(0, 96, 240, 0.55);
    --brand-cyan-glow: rgba(8, 136, 255, 0.45);
    --brand-orange-glow: rgba(255, 126, 0, 0.4);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.12);
    --border-color: rgba(255, 255, 255, 0.08);
    --gold: #ff9f00;
    --text-gradient: linear-gradient(135deg, #0060f0 0%, #0888ff 50%, #ff7e00 100%);
    --bg-gradient: radial-gradient(circle at 50% 0%, rgba(0, 96, 240, 0.12) 0%, rgba(8, 136, 255, 0.05) 30%, rgba(255, 126, 0, 0.02) 65%, #030712 100%);
}

/* Base Settings & Typography */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--color-primary);
    font-family: 'Prompt', 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Beautiful Glowing Nebula Orbs in Background */
body::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 96, 240, 0.04) 0%, rgba(14, 165, 233, 0.01) 60%, transparent 100%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 45%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.02) 0%, rgba(245, 158, 11, 0.01) 65%, transparent 100%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

/* Layout Core */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

section {
    padding: 90px 0;
    position: relative;
}

/* Header & Glass Navigation */
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.header-glass.scrolled {
    background: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.nav-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.nav-brand span {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-logo-img {
    max-height: 42px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 96, 240, 0.45));
    transition: all 0.3s ease;
}

.site-logo-img:hover {
    filter: drop-shadow(0 0 12px rgba(8, 136, 255, 0.65)) brightness(1.1);
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-glow-outline {
    background: var(--bg-card);
    color: var(--color-primary);
    border: 1px solid var(--border-glass);
}

.btn-glow-outline:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 24px 0;
}

.text-glow {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
}

.hero-content p {
    color: var(--color-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 40px 0;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Typing Effect for SEO services */
.typing-container {
    min-height: 70px;
    display: block;
}

/* Floating Web Mockup Widget */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--brand-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
}

.glass-card-mockup {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background-color: #ef4444; }
.mockup-dot.yellow { background-color: #f59e0b; }
.mockup-dot.green { background-color: #10b981; }

.mockup-body h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
}

.mockup-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* Trust stats grid */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
}

.trust-item h4 {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-cyan);
}

.trust-item p {
    margin: 0;
    font-size: 13px;
    color: var(--color-secondary);
}

/* Global Section Title */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title span {
    color: var(--brand-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.section-title p {
    color: var(--color-secondary);
    font-size: 16px;
    margin: 0;
}

/* Service Grid & Glass Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 35px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 15px rgba(59, 130, 246, 0.1);
}

.service-icon {
    font-size: 36px;
    color: var(--brand-cyan);
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.service-card h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
}

.service-card p {
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.service-link {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--brand-cyan);
}

/* How It Works Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-glass);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 4px solid var(--brand-blue);
    top: 15px;
    z-index: 1;
}

.timeline-item.left .timeline-circle {
    right: -10px;
}

.timeline-item.right .timeline-circle {
    left: -10px;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--brand-cyan);
    font-weight: 700;
}

.timeline-content p {
    margin: 0;
    color: var(--color-secondary);
    font-size: 14px;
}

/* Portfolio Gallery Showcase */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--color-secondary);
    padding: 8px 20px;
    border-radius: 9999px;
    cursor: pointer;
    font-family: 'Prompt', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.portfolio-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.06);
}

.portfolio-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
}

.portfolio-tag {
    font-size: 12px;
    color: var(--brand-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Calculator Grid */
.calculator-section {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.calc-box {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 600;
    border-left: 3px solid var(--brand-blue);
    padding-left: 10px;
}

/* Option checkbox inputs style */
.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}

.option-card:hover {
    border-color: rgba(59,130,246,0.3);
    background: var(--bg-card-hover);
}

.option-card.selected {
    border-color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.08);
}

.option-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.option-card.selected .option-checkbox {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.option-checkbox i {
    color: #fff;
    font-size: 12px;
    display: none;
}

.option-card.selected .option-checkbox i {
    display: block;
}

.option-info {
    display: flex;
    flex-direction: column;
}

.option-name {
    font-size: 14px;
    font-weight: 600;
}

.option-price {
    font-size: 12px;
    color: var(--brand-cyan);
}

/* Sticky Estimate Summary */
.calc-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    position: sticky;
    top: 110px;
    box-sizing: border-box;
}

.summary-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-header h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--color-primary);
}

.price-display {
    font-size: 44px;
    font-weight: 800;
    color: var(--success-green);
    margin: 10px 0;
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.price-display span {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-secondary);
}

.summary-list {
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
}

.summary-item span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-input {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-primary);
    font-family: 'Prompt', sans-serif;
    font-size: 14px;
}

.calc-input:focus {
    outline: none;
    border-color: var(--brand-blue);
}

/* Testimonials Carousel */
.testimonials-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.quote-icon {
    font-size: 48px;
    color: rgba(59, 130, 246, 0.15);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 0 30px 0;
    color: var(--color-primary);
}

.client-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.client-name {
    font-weight: 600;
    font-size: 16px;
}

.client-stars {
    color: var(--gold);
    font-size: 13px;
    display: flex;
    gap: 4px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-glass);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background-color: var(--brand-blue);
    width: 24px;
    border-radius: 9999px;
}

/* FAQ Accordion Styling */
.faq-search-box {
    max-width: 500px;
    margin: 0 auto 40px auto;
    position: relative;
}

.faq-search-box input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--color-primary);
    font-family: 'Prompt', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
}

.faq-search-box input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 15px rgba(59,130,246,0.15);
}

.faq-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 15px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--border-glass-hover);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 14px;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid var(--border-glass);
    margin-top: 0;
}

/* Dynamic Details Modal */
.modal-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(4, 8, 20, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-glass.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-glass.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-secondary);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 40px;
    box-sizing: border-box;
}

.modal-body h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
}

.modal-body p {
    color: var(--color-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Footer Section */
/* Footer Section */
.footer-section {
    background-color: #060c1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
    gap: 40px;
    margin-bottom: 0px;
}

.footer-col h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
}

.footer-col p {
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Custom HSL Social Box */
.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    transform: translateY(-2px);
}

.social-box.small {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 6px;
}

/* Footer links style */
.footer-links-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.3s ease;
}

.footer-links-list li a:hover {
    color: var(--brand-blue);
}

/* Online status pill badge */
.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Radiant Orange Button */
.btn-orange {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0b1329 !important;
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.55) !important;
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

/* Back to Top button styling */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 105px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #2563eb;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
}

.back-to-top:hover {
    background-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.55);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}


/* Floating Contact Button */
.floating-line-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #06c755; /* Official LINE Green */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.floating-line-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.55);
}

/* Extreme Mobile Responsiveness Styles */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        gap: 40px;
    }
    .hero-content p {
        margin: 0 auto 35px auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        margin-bottom: 30px;
    }
    .trust-stats {
        justify-content: center;
    }
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-summary {
        position: static;
        margin-top: 30px;
    }
    .service-hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }
    .navbar {
        height: 76px;
        min-width: 0;
    }
    .nav-brand {
        min-width: 0;
        max-width: calc(100vw - 92px);
    }
    .site-logo-img {
        max-width: 150px;
        max-height: 40px;
    }
    main {
        padding-top: 110px !important;
        padding-bottom: 50px !important;
    }
    section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 30px;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .section-title p {
        overflow-wrap: anywhere;
    }
    .hero-content h1 {
        font-size: 34px;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .hero-content p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .typing-container {
        min-height: 58px;
    }
    .hero-actions {
        width: 100%;
        align-items: stretch;
    }
    .hero-actions .btn-cta {
        flex: 1 1 100%;
        justify-content: center;
        min-width: 0;
    }
    .trust-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }
    .trust-item h4 {
        font-size: 24px;
    }
    .trust-item p {
        font-size: 12px;
        overflow-wrap: anywhere;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--bg-dark);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.4s ease;
        border-top: 1px solid var(--border-glass);
        box-sizing: border-box;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        font-size: 20px;
    }
    .nav-cta {
        display: none;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0px;
    }
    .timeline-item.left {
        text-align: left;
    }
    .timeline-item.right {
        left: 0%;
    }
    .timeline-circle {
        left: 21px !important;
        right: auto !important;
    }
    .option-grid {
        grid-template-columns: 1fr;
    }
    .specs-bullets-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .portfolio-filters {
        justify-content: center;
        gap: 10px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .filter-btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-card,
    .service-card,
    .glass-card-mockup {
        max-width: 100%;
    }
    .blob,
    .lp .blob {
        max-width: 72vw !important;
        max-height: 72vw !important;
        filter: blur(55px) !important;
    }
    .blob.b2,
    .lp .blob.b2,
    .blob.b3,
    .lp .blob.b3 {
        right: -18vw !important;
        left: auto !important;
    }
    .cookie-consent-banner {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: none !important;
        padding: 18px !important;
        border-radius: 14px !important;
    }
    .cookie-consent-banner > div {
        min-width: 0;
    }
    .cookie-consent-banner button {
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-wrapper {
        padding-top: 96px;
    }
    .hero-content h1 {
        font-size: 31px;
        line-height: 1.32;
    }
    .hero-content p {
        font-size: 16px;
    }
    .section-title {
        margin-bottom: 42px;
    }
    .section-title h2 {
        font-size: 28px;
        line-height: 1.35;
    }
    .section-title span {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    .trust-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .floating-line-btn {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
    }
    .back-to-top {
        right: 84px;
        bottom: 23px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Article Content Styling (SEO & Readability Optimized)
   ========================================================================== */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-primary);
}

.article-content p {
    margin-bottom: 24px;
    color: var(--color-secondary);
}

.article-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.35;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.article-content li strong {
    color: var(--color-primary);
}

.article-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.article-content blockquote {
    background: rgba(6, 182, 212, 0.05);
    border-left: 4px solid var(--brand-cyan);
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--color-primary);
}

.article-content a {
    color: var(--brand-cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #22d3ee;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px auto;
    display: block;
    border: 1px solid var(--border-glass);
}

/* Pagination Navigation Styles */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap; /* Mobile responsive down to 320px */
    margin-top: 50px;
    margin-bottom: 20px;
}

.page-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    color: var(--color-primary) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
}

.page-num:hover {
    border-color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.12);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.page-num.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff !important;
    box-shadow: 0 0 15px var(--brand-glow), inset 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Defensive CSS Safeguards for Scraped/Migrated Blog Articles */
.article-content .bg-white {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.article-content .bg-slate-50,
.article-content .bg-gray-50,
.article-content .bg-blue-50 {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--color-primary) !important;
}

.article-content .text-blue-900,
.article-content .text-blue-800 {
    color: var(--brand-blue) !important;
}

.article-content .text-slate-900,
.article-content .text-gray-900,
.article-content .text-black {
    color: var(--color-primary) !important;
}

.article-content .text-slate-600,
.article-content .text-gray-600,
.article-content .text-slate-700,
.article-content .text-gray-700,
.article-content .text-slate-800 {
    color: var(--color-secondary) !important;
}

.article-content a:not(.btn-transition) {
    color: var(--brand-cyan) !important;
}

/* Premium Seed Social sharing buttons styling */
.article-content .seed-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
    list-style-type: none !important;
    list-style: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 25px !important;
}

.article-content .seed-social li {
    list-style-type: none !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.article-content .seed-social a.seed-social-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
}

/* Facebook color styling */
.article-content .seed-social li.facebook a.seed-social-btn {
    background: rgba(24, 119, 242, 0.1) !important;
    border-color: rgba(24, 119, 242, 0.25) !important;
    color: #1877f2 !important;
}
.article-content .seed-social li.facebook a.seed-social-btn:hover {
    background: #1877f2 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Twitter/X color styling */
.article-content .seed-social li.twitter a.seed-social-btn {
    background: var(--bg-dark) !important;
    border-color: var(--border-glass) !important;
    color: var(--color-primary) !important;
}
.article-content .seed-social li.twitter a.seed-social-btn:hover {
    background: var(--color-primary) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--border-glass-hover) !important;
    transform: translateY(-2px) !important;
}

/* Line color styling */
.article-content .seed-social li.line a.seed-social-btn {
    background: rgba(6, 199, 85, 0.1) !important;
    border-color: rgba(6, 199, 85, 0.25) !important;
    color: #06c755 !important;
}
.article-content .seed-social li.line a.seed-social-btn:hover {
    background: #06c755 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(6, 199, 85, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Ensure SVG icons inside seed-social display nicely */
.article-content .seed-social svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
