/* 
   PREMIUM DESIGN SYSTEM 
   Theme: Modern, Minimal, High-Impact
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-main: #FAFAFA;
    --bg-surface: #FFFFFF;

    --primary: #0F172A;
    /* Obsidian */
    --primary-light: #334155;

    --accent: #F43F5E;
    /* Vibrant Coral */
    --accent-glow: rgba(244, 63, 94, 0.4);

    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    --grad-accent: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
    --grad-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 20px var(--accent-glow);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Typography */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Scoped Reset to avoid breaking theme */
.premium-about-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.premium-about-wrapper {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Force container to respond to the centering */
.premium-about-wrapper>.container,
.premium-about-wrapper section .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* NUCLEAR Chat Widget Removal
   Hides anything fixed to the bottom right that looks like a chat button
*/
iframe[data-test-id="chat-widget-iframe"],
#hubspot-messages-iframe-container,
.fb_dialog,
#tidio-chat,
[id*="chat-widget"],
[class*="chat-widget"],
iframe[id*="chat"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -9999 !important;
}

.premium-about-wrapper h1,
.premium-about-wrapper h2,
.premium-about-wrapper h3,
.premium-about-wrapper h4,
.premium-about-wrapper h5,
.premium-about-wrapper h6 {
    font-family: var(--font-head);
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

.premium-about-wrapper p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.premium-about-wrapper img {
    max-width: 100%;
    display: block;
}

.premium-about-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

/* Typography Scale */
.display-text {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.3);
    color: white !important;
}

.btn-accent {
    background: var(--grad-accent);
    color: white !important;
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(244, 63, 94, 0.5);
    color: white !important;
}

.btn-glow {
    position: relative;
    z-index: 1;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--grad-accent);
    filter: blur(15px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.btn-glow:hover::after {
    opacity: 0.6;
}

/* Cards & Glassmorphism */
.glass-panel {
    background: var(--grad-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
}

.card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.05);
}

/* ---------------- SECTIONS ---------------- */

/* HERO Section */
.hero {
    min-height: 85vh;
    /* slightly reduced for integration */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 10%, rgba(244, 63, 94, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(30, 41, 59, 0.05) 0%, transparent 40%);
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-light);
}

.hero-visual {
    position: relative;
}

.hero-card-1 {
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.hero-card-1:hover {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ABOUT Section - Asymmetrical */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-pattern {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--accent);
    mask-image: radial-gradient(circle, black 2px, transparent 2.5px);
    mask-size: 10px 10px;
    opacity: 0.2;
    z-index: -1;
}

/* SERVICES - Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
}

.bento-large {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 63, 94, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: 0.3s;
}

.card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: rotate(10deg);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Chat Widget Removed */

/* Responsive Design Improvements */

/* Tablet & Smaller Laptops (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

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

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .display-text {
        font-size: 3rem;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

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

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-large,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Make the tall card normal height for grid consistency */
    .bento-tall {
        height: auto;
        min-height: 300px;
    }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .section {
        padding: 60px 0;
    }

    .display-text {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .bento-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix for inline style grid-template-columns in Features section (Two Col) */
@media (max-width: 900px) {
    .container[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}