/*
Theme Name: 6Sensetech2026
Theme URI: https://6sensetech.com
Author: 6SenseTech
Author URI: https://6sensetech.com
Description: Premium, modern WordPress theme for software development and design agency. shadcn/tweakcn-based with GSAP animations, dark/light mode, primary color #f89a24. Pages: Home, Services, Portfolio, Blogs, Contact. Mobile-friendly, SEO and performance focused.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 6sensetech2026
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready, custom-background, responsive-layout
*/

/* Base styles and design tokens are in assets/css/main.css (Tailwind build). */
body {
	font-family: 'Poppins', sans-serif;
	font-size:13px;
	color:#1c1c1c;
	line-height:1.8em;
	font-weight:400;
	background:#ffffff;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center top;
	-webkit-font-smoothing: antialiased;
}
.section-marquee-item .marquee,
.section-marquee-item .marquee-inner{
    height: 100%;
}

.section-marquee-item .marquee-inner{
    animation: none !important;
}
h2.wp-block-heading {
    word-wrap: break-word;
}

/* Portfolio card image max height */
.featured-work-box-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

/* ── Entry Content (Single Post / Page) ── */
.entry-content.blog-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #2d2d2d;
    letter-spacing: 0.01em;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content.blog-content p {
    margin-bottom: 1.6em;
    font-size: 1.125rem;
    line-height: 1.9;
}

.entry-content.blog-content	 h1,
.entry-content.blog-content h2,
.entry-content.blog-content h3,
.entry-content.blog-content h4,
.entry-content.blog-content h5,
.entry-content.blog-content h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
    margin-top: 2em;
    margin-bottom: 0.75em;
    letter-spacing: -0.02em;
}

.entry-content.blog-content h1 { font-size: 2.25rem; }
.entry-content.blog-content h2 { font-size: 1.875rem; position: relative; padding-bottom: 0.5em; }
.entry-content.blog-content h3 { font-size: 1.5rem; }
.entry-content.blog-content h4 { font-size: 1.25rem; }
.entry-content.blog-content h5 { font-size: 1.125rem; }
.entry-content.blog-content h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: #555; }

.entry-content.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #f89a24, #f9cb96);
    border-radius: 2px;
}

.entry-content.blog-content a {
    color: #f89a24;
    text-decoration: underline;
    text-decoration-color: rgba(248, 154, 36, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content.blog-content a:hover {
    color: #e08810;
    text-decoration-color: #e08810;
}

.entry-content.blog-content strong,
.entry-content.blog-content b {
    font-weight: 700;
    color: #111111;
}

.entry-content em,
.entry-content i {
    font-style: italic;
}

.entry-content ul,
.entry-content ol {
    margin: 1.4em 0;
    padding-left: 1.8em;
}

.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }

.entry-content li {
    margin-bottom: 0.5em;
    padding-left: 0.4em;
    line-height: 1.75;
}

.entry-content li::marker {
    color: #f89a24;
}

.entry-content blockquote {
    margin: 2em 0;
    padding: 1.5em 1.8em;
    border-left: 4px solid #f89a24;
    background: linear-gradient(135deg, rgba(248, 154, 36, 0.04), rgba(248, 154, 36, 0.08));
    border-radius: 0 8px 8px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #333;
    position: relative;
}

.entry-content blockquote::before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(248, 154, 36, 0.2);
    position: absolute;
    top: -10px;
    left: 12px;
    font-family: Georgia, serif;
    line-height: 1;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.entry-content figure {
    margin: 2em 0;
}

.entry-content figcaption {
    font-size: 0.875rem;
    color: #888;
    text-align: center;
    margin-top: 0.75em;
    font-style: italic;
}

.entry-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
    font-size: 0.9rem;
    line-height: 1.7;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.entry-content code {
    font-family: 'Fira Code', 'JetBrains Mono', Consolas, monospace;
    font-size: 0.875em;
}

.entry-content :not(pre) > code {
    background: rgba(248, 154, 36, 0.1);
    color: #c0560a;
    padding: 0.2em 0.45em;
    border-radius: 4px;
    font-size: 0.875em;
}

.entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e4e4e7, transparent);
    margin: 3em 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 1rem;
}

.entry-content th,
.entry-content td {
    padding: 0.75em 1em;
    border: 1px solid #e4e4e7;
    text-align: left;
}

.entry-content th {
    background: #f89a24;
    color: #fff;
    font-weight: 600;
}

.entry-content tr:nth-child(even) td {
    background: #fafafa;
}

.entry-content .wp-block-heading:first-child {
    margin-top: 0;
}

@media (max-width: 768px) {
    .entry-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    .entry-content h1 { font-size: 1.75rem; }
    .entry-content h2 { font-size: 1.5rem; }
    .entry-content h3 { font-size: 1.25rem; }
    .entry-content h4 { font-size: 1.125rem; }
    .entry-content blockquote { padding: 1em 1.2em; }
    .entry-content pre { padding: 1em; font-size: 0.85rem; }
}

/* Dark mode overrides */
.dark .entry-content,
.theme-dark .entry-content {
    color: #d4d4d8;
}

.dark .entry-content h1,
.dark .entry-content h2,
.dark .entry-content h3,
.dark .entry-content h4,
.dark .entry-content h5,
.dark .entry-content h6,
.theme-dark .entry-content h1,
.theme-dark .entry-content h2,
.theme-dark .entry-content h3,
.theme-dark .entry-content h4,
.theme-dark .entry-content h5,
.theme-dark .entry-content h6 {
    color: #fafafa;
}

.dark .entry-content strong,
.dark .entry-content b,
.theme-dark .entry-content strong,
.theme-dark .entry-content b {
    color: #fafafa;
}

.dark .entry-content blockquote,
.theme-dark .entry-content blockquote {
    background: linear-gradient(135deg, rgba(248, 154, 36, 0.06), rgba(248, 154, 36, 0.12));
    color: #c4c4c8;
}

.dark .entry-content :not(pre) > code,
.theme-dark .entry-content :not(pre) > code {
    background: rgba(248, 154, 36, 0.15);
    color: #f89a24;
}

.dark .entry-content th,
.theme-dark .entry-content th {
    background: #f89a24;
    color: #0a0a0a;
}

.dark .entry-content tr:nth-child(even) td,
.theme-dark .entry-content tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

.dark .entry-content td,
.dark .entry-content th,
.theme-dark .entry-content td,
.theme-dark .entry-content th {
    border-color: #27272a;
}

.dark .entry-content hr,
.theme-dark .entry-content hr {
    background: linear-gradient(90deg, transparent, #3f3f46, transparent);
}

.dark .entry-content h6,
.theme-dark .entry-content h6 {
    color: #a1a1aa;
}

/* ── Contact Success Modal (Bootstrap-based) ── */
#contact-success-modal .modal-dialog {
    max-width: 520px;
}

#contact-success-modal .modal-backdrop,
#contact-success-modal.modal {
    z-index: 99999;
}

#contact-success-modal .modal-content.contact-modal {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(248, 154, 36, 0.12);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(248, 154, 36, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

/* Animated gradient border glow */
.contact-modal-border {
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: conic-gradient(from 0deg, #f89a24, #ff6b6b, #4ecdc4, #ffe66d, #f89a24);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
}

#contact-success-modal.show .contact-modal-border {
    animation: borderGlow 3s 0.3s ease-out forwards, borderRotate 6s 0.3s linear infinite;
}

@keyframes borderGlow {
    0%   { opacity: 0; }
    40%  { opacity: 0.6; }
    100% { opacity: 0.25; }
}

@keyframes borderRotate {
    to { transform: rotate(360deg); }
}

/* Floating background orbs */
.contact-modal-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 28px;
    pointer-events: none;
    z-index: 0;
}

.contact-modal-orbs .orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    filter: blur(40px);
}

.contact-modal-orbs .orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(248, 154, 36, 0.2), transparent 70%);
    top: -60px;
    right: -40px;
}

.contact-modal-orbs .orb-2 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.15), transparent 70%);
    bottom: -30px;
    left: -30px;
}

.contact-modal-orbs .orb-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.12), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#contact-success-modal.show .orb-1 { animation: orbFloat1 4s 0.2s ease-in-out forwards; }
#contact-success-modal.show .orb-2 { animation: orbFloat2 5s 0.4s ease-in-out forwards; }
#contact-success-modal.show .orb-3 { animation: orbFloat3 6s 0.3s ease-in-out forwards; }

@keyframes orbFloat1 {
    0%   { opacity: 0; transform: translate(30px, 20px) scale(0.6); }
    30%  { opacity: 1; }
    100% { opacity: 0.8; transform: translate(-10px, -10px) scale(1); }
}

@keyframes orbFloat2 {
    0%   { opacity: 0; transform: translate(-20px, -20px) scale(0.5); }
    30%  { opacity: 1; }
    100% { opacity: 0.7; transform: translate(15px, 10px) scale(1.1); }
}

@keyframes orbFloat3 {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
    30%  { opacity: 1; }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
}

/* Body */
.contact-modal-body {
    padding: 56px 48px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Close button — creative morphing X */
.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    opacity: 0;
}

#contact-success-modal.show .contact-modal-close {
    animation: closeAppear 0.4s 1.2s ease forwards;
}

@keyframes closeAppear {
    0%   { opacity: 0; transform: scale(0.3) rotate(-180deg); }
    60%  { opacity: 1; transform: scale(1.15) rotate(10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.close-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.close-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, #f89a24 0%);
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal-close:hover .close-ring {
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(248, 154, 36, 0.2);
}

.contact-modal-close:hover .close-ring::before {
    opacity: 1;
    animation: closeRingFill 0.6s ease forwards;
}

@keyframes closeRingFill {
    0%   { background: conic-gradient(from 0deg, #f89a24 0%, transparent 0%); }
    100% { background: conic-gradient(from 0deg, #f89a24 100%, transparent 100%); }
}

.close-icon {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-line {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #999;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.close-line-1 {
    transform: rotate(45deg);
}

.close-line-2 {
    transform: rotate(-45deg);
}

.contact-modal-close:hover .close-line {
    background: #f89a24;
}

.contact-modal-close:hover .close-line-1 {
    transform: rotate(45deg) scaleX(1.2);
}

.contact-modal-close:hover .close-line-2 {
    transform: rotate(-45deg) scaleX(1.2);
}

.contact-modal-close:active .close-line-1 {
    transform: rotate(45deg) scaleX(0.8);
}

.contact-modal-close:active .close-line-2 {
    transform: rotate(-45deg) scaleX(0.8);
}

.close-tooltip {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f89a24;
    background: rgba(248, 154, 36, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal-close:hover .close-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Sparkle particles */
.contact-modal-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-modal-sparkles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f89a24;
    border-radius: 50%;
    opacity: 0;
}

.contact-modal-sparkles span:nth-child(1) { top: 15%; left: 12%; }
.contact-modal-sparkles span:nth-child(2) { top: 22%; right: 15%; background: #4ecdc4; }
.contact-modal-sparkles span:nth-child(3) { top: 45%; left: 8%; background: #ffe66d; }
.contact-modal-sparkles span:nth-child(4) { top: 55%; right: 10%; }
.contact-modal-sparkles span:nth-child(5) { bottom: 25%; left: 18%; background: #ff6b6b; }
.contact-modal-sparkles span:nth-child(6) { bottom: 15%; right: 20%; background: #4ecdc4; }

#contact-success-modal.show .contact-modal-sparkles span:nth-child(1) { animation: sparkle 2s 0.8s ease-in-out infinite; }
#contact-success-modal.show .contact-modal-sparkles span:nth-child(2) { animation: sparkle 2.4s 1.1s ease-in-out infinite; }
#contact-success-modal.show .contact-modal-sparkles span:nth-child(3) { animation: sparkle 1.8s 1.4s ease-in-out infinite; }
#contact-success-modal.show .contact-modal-sparkles span:nth-child(4) { animation: sparkle 2.2s 0.9s ease-in-out infinite; }
#contact-success-modal.show .contact-modal-sparkles span:nth-child(5) { animation: sparkle 2.6s 1.2s ease-in-out infinite; }
#contact-success-modal.show .contact-modal-sparkles span:nth-child(6) { animation: sparkle 2s 1.5s ease-in-out infinite; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50%      { opacity: 0.8; transform: scale(1.2); }
}

/* Success icon container */
.contact-modal-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-modal-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(248, 154, 36, 0.3);
    opacity: 0;
}

#contact-success-modal.show .contact-modal-icon-ring {
    animation: ringAppear 0.5s 0.2s ease forwards, ringSpin 8s 0.7s linear infinite;
}

@keyframes ringAppear {
    0%   { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes ringSpin {
    to { transform: rotate(360deg); }
}

.contact-modal-icon-pulse {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(248, 154, 36, 0.12), rgba(248, 154, 36, 0.04));
    opacity: 0;
}

#contact-success-modal.show .contact-modal-icon-pulse {
    animation: pulseGrow 0.6s 0.1s ease forwards, pulseBreath 3s 0.7s ease-in-out infinite;
}

@keyframes pulseGrow {
    0%   { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseBreath {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.06); opacity: 0.8; }
}

/* SVG checkmark stroke draw */
.contact-modal-check {
    position: relative;
    z-index: 1;
    opacity: 0;
}

.contact-modal-check circle {
    stroke-dasharray: 63;
    stroke-dashoffset: 63;
}

.contact-modal-check .check-path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
}

#contact-success-modal.show .contact-modal-check {
    animation: checkAppear 0.3s 0.2s ease forwards;
}

#contact-success-modal.show .contact-modal-check circle {
    animation: modalStrokeDraw 0.8s 0.3s ease forwards;
}

#contact-success-modal.show .contact-modal-check .check-path {
    animation: modalStrokeDraw 0.4s 0.9s ease forwards;
}

@keyframes checkAppear {
    to { opacity: 1; }
}

@keyframes modalStrokeDraw {
    to { stroke-dashoffset: 0; }
}

/* Confetti burst — mixed shapes */
.contact-modal-confetti {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.contact-modal-confetti span {
    position: absolute;
    opacity: 0;
}

.contact-modal-confetti span:nth-child(odd)  { width: 6px; height: 6px; border-radius: 50%; }
.contact-modal-confetti span:nth-child(even) { width: 8px; height: 4px; border-radius: 2px; }

.contact-modal-confetti span:nth-child(1)  { background: #f89a24; }
.contact-modal-confetti span:nth-child(2)  { background: #ff6b6b; }
.contact-modal-confetti span:nth-child(3)  { background: #4ecdc4; }
.contact-modal-confetti span:nth-child(4)  { background: #f89a24; }
.contact-modal-confetti span:nth-child(5)  { background: #ffe66d; }
.contact-modal-confetti span:nth-child(6)  { background: #ff6b6b; }
.contact-modal-confetti span:nth-child(7)  { background: #4ecdc4; }
.contact-modal-confetti span:nth-child(8)  { background: #ffe66d; }
.contact-modal-confetti span:nth-child(9)  { background: #f89a24; }
.contact-modal-confetti span:nth-child(10) { background: #ff6b6b; }
.contact-modal-confetti span:nth-child(11) { background: #4ecdc4; }
.contact-modal-confetti span:nth-child(12) { background: #ffe66d; }

#contact-success-modal.show .contact-modal-confetti span:nth-child(1)  { animation: cBurst 0.9s 0.7s  cubic-bezier(.2,.8,.3,1) forwards; --cx: -90px;  --cy: -140px; --cr: 180deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(2)  { animation: cBurst 0.9s 0.75s cubic-bezier(.2,.8,.3,1) forwards; --cx: 100px;  --cy: -120px; --cr: -120deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(3)  { animation: cBurst 0.9s 0.8s  cubic-bezier(.2,.8,.3,1) forwards; --cx: -120px; --cy: -50px;  --cr: 240deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(4)  { animation: cBurst 0.9s 0.72s cubic-bezier(.2,.8,.3,1) forwards; --cx: 110px;  --cy: -70px;  --cr: -200deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(5)  { animation: cBurst 0.9s 0.78s cubic-bezier(.2,.8,.3,1) forwards; --cx: -70px;  --cy: -160px; --cr: 150deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(6)  { animation: cBurst 0.9s 0.82s cubic-bezier(.2,.8,.3,1) forwards; --cx: 80px;   --cy: -150px; --cr: -160deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(7)  { animation: cBurst 0.9s 0.74s cubic-bezier(.2,.8,.3,1) forwards; --cx: -140px; --cy: -90px;  --cr: 200deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(8)  { animation: cBurst 0.9s 0.76s cubic-bezier(.2,.8,.3,1) forwards; --cx: 130px;  --cy: -100px; --cr: -140deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(9)  { animation: cBurst 0.9s 0.73s cubic-bezier(.2,.8,.3,1) forwards; --cx: -50px;  --cy: -170px; --cr: 100deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(10) { animation: cBurst 0.9s 0.79s cubic-bezier(.2,.8,.3,1) forwards; --cx: 60px;   --cy: -160px; --cr: -100deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(11) { animation: cBurst 0.9s 0.77s cubic-bezier(.2,.8,.3,1) forwards; --cx: -160px; --cy: -60px;  --cr: 260deg; }
#contact-success-modal.show .contact-modal-confetti span:nth-child(12) { animation: cBurst 0.9s 0.81s cubic-bezier(.2,.8,.3,1) forwards; --cx: 140px;  --cy: -80px;  --cr: -220deg; }

@keyframes cBurst {
    0%   { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
    100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(0.3); }
}

/* Title */
.contact-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1c1c1c;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    opacity: 0;
}

#contact-success-modal.show .contact-modal-title {
    animation: fadeSlideUp 0.5s 0.5s ease forwards;
}

.contact-modal-title-accent {
    display: block;
    background: linear-gradient(135deg, #f89a24, #e05a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.contact-modal-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 28px;
    padding: 0 12px;
    opacity: 0;
}

#contact-success-modal.show .contact-modal-text {
    animation: fadeSlideUp 0.5s 0.65s ease forwards;
}

@keyframes fadeSlideUp {
    0%   { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* "What's next" timeline */
.contact-modal-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 auto 32px;
    max-width: 280px;
    text-align: left;
    opacity: 0;
}

#contact-success-modal.show .contact-modal-timeline {
    animation: fadeSlideUp 0.5s 0.8s ease forwards;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    position: relative;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 32px;
    width: 2px;
    height: calc(100% - 22px);
    background: linear-gradient(to bottom, rgba(248, 154, 36, 0.3), rgba(248, 154, 36, 0.08));
}

.timeline-dot {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f89a24, #e88a14);
    position: relative;
    box-shadow: 0 0 0 4px rgba(248, 154, 36, 0.12);
}

.timeline-step:first-child .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(248, 154, 36, 0.2);
    animation: pulseBreath 2s ease-in-out infinite;
}

.timeline-label {
    font-size: 0.875rem;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

/* CTA button */
.contact-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #f89a24, #e07a04);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
}

#contact-success-modal.show .contact-modal-btn {
    animation: fadeSlideUp 0.5s 0.95s ease forwards;
}

.contact-modal-btn svg {
    transition: transform 0.25s ease;
}

.contact-modal-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-modal-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.contact-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 40px rgba(248, 154, 36, 0.4),
        0 0 0 1px rgba(248, 154, 36, 0.15);
    color: #fff !important;
}

.contact-modal-btn:hover svg {
    transform: translateX(3px);
}

.contact-modal-btn:hover::before {
    opacity: 1;
}

.contact-modal-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

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

/* Blurred backdrop */
.modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Responsive */
@media (max-width: 480px) {
    #contact-success-modal .modal-content.contact-modal {
        border-radius: 20px;
    }
    .contact-modal-orbs { border-radius: 20px; }
    .contact-modal-border { border-radius: 22px; }
    .contact-modal-body {
        padding: 44px 24px 36px;
    }
    .contact-modal-icon {
        width: 88px;
        height: 88px;
        margin-bottom: 24px;
    }
    .contact-modal-check {
        width: 36px;
        height: 36px;
    }
    .contact-modal-title {
        font-size: 1.3rem;
    }
    .contact-modal-text {
        font-size: 0.88rem;
    }
    .contact-modal-timeline {
        max-width: 240px;
    }
    .timeline-label {
        font-size: 0.8rem;
    }
    .contact-modal-btn {
        min-width: 150px;
        padding: 12px 32px;
        font-size: 0.9rem;
    }
}

/* Dark mode */
.dark #contact-success-modal .modal-content.contact-modal,
.theme-dark #contact-success-modal .modal-content.contact-modal {
    background: rgba(30, 30, 46, 0.95);
    border-color: rgba(248, 154, 36, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.dark .close-ring,
.theme-dark .close-ring {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .close-line,
.theme-dark .close-line {
    background: #71717a;
}

.dark .contact-modal-close:hover .close-line,
.theme-dark .contact-modal-close:hover .close-line {
    background: #f89a24;
}

.dark .contact-modal-close:hover .close-ring,
.theme-dark .contact-modal-close:hover .close-ring {
    box-shadow: 0 0 20px rgba(248, 154, 36, 0.15);
}

.dark .close-tooltip,
.theme-dark .close-tooltip {
    background: rgba(248, 154, 36, 0.12);
    color: #f89a24;
}

.dark .contact-modal-title,
.theme-dark .contact-modal-title {
    color: #fafafa;
}

.dark .contact-modal-text,
.theme-dark .contact-modal-text {
    color: #a1a1aa;
}

.dark .timeline-label,
.theme-dark .timeline-label {
    color: #a1a1aa;
}

.dark .timeline-dot,
.theme-dark .timeline-dot {
    box-shadow: 0 0 0 4px rgba(248, 154, 36, 0.08);
}