@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Bodoni+Moda:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-black: #000000;
    --bg-dark-gray: #0a0a0a;
    --accent-white: #ffffff;
    --text-gray: #888888;
    --border-gray: #222222;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--accent-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: var(--border-gray);
    border-radius: 10px;
}

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

section {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    position: relative;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    white-space: nowrap;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-white);
    color: var(--bg-black);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.3s, opacity 0.3s;
}

.step-card:hover .step-number {
    color: var(--accent-white);
}

.floating-icon {
    animation: float 6s infinite ease-in-out;
    display: inline-block;
}

.feature-card:hover .floating-icon,
.why-card:hover .floating-icon {
    animation-duration: 3s;
}

.feature-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Stepper / Workflow */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 5rem;
    position: relative;
}

@media (max-width: 992px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 1.5rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 360px;
    overflow: hidden;
    backdrop-filter: blur(25px);
}


.step-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255,255,255,0.05);
}


.step-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 0.9rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.8;
}

.step-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.step-content {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
    text-align: left;
}

.step-content p {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0px;
}

.immutable-tag {
    display: block;
    width: 100%;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    padding: 8px 8px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    font-weight: 600;
    margin-top: auto;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 4rem auto 0;
    text-align: left;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    color: var(--accent-white);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent-white);
    color: var(--bg-black);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.03);
}

.why-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.why-card:hover .icon-wrapper {
    background: var(--accent-white);
    color: var(--bg-black);
    transform: rotate(5deg) scale(1.1);
}

.why-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-white);
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

.why-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

.why-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.why-card:hover::after {
    opacity: 1;
}

/* Footer Links */
.footer-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.2, 0, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0, 0.2, 1), filter 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 1.8rem;
        white-space: normal;
        line-height: 1.3;
        letter-spacing: 0;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
    .container {
        padding: 0 1.25rem;
    }
    section {
        padding: 80px 0;
    }
    .grid-content {
        grid-template-columns: 1fr !important;
    }
    .step-card {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    .step-card h3 {
        font-size: 1.3rem;
    }
    .step-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
    }
}
/* Floating LINE Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.floating-contact:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 25px rgba(255,255,255,0.1);
}

.floating-line svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: -2px; /* Visual centering adjustment */
}

@keyframes pulse-border {
    0% { border-color: #333; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1); }
    70% { border-color: #555; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { border-color: #333; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .floating-line {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}
/* Contact Buttons */
.contact-btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.line-btn:hover {
    border-color: #00B900;
    color: #00B900;
}

.email-btn:hover {
    border-color: var(--accent-white);
}

/* Portfolio Redesign */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 1400px) {
    .workflow-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.portfolio-grid .portfolio-card {
    width: 100%;
}

@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    border: 1px solid var(--border-gray);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: block;
    background: #000;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(255,255,255,0.05);
    z-index: 10;
}

.portfolio-card.shorts {
    aspect-ratio: 9 / 16;
    max-width: 280px;
}

.portfolio-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
    z-index: 1;
}

.portfolio-card:hover .portfolio-thumb {
    filter: brightness(0.6) blur(1px);
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Tech Shimmer Sweep Effect */
@keyframes shimmer-sweep {
    0% { transform: translateX(-150%) rotate(10deg); }
    100% { transform: translateX(250%) rotate(10deg); }
}

@keyframes text-shimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}


@keyframes scan-line {
    0% { transform: scaleX(0); opacity: 0; left: 0; }
    20% { transform: scaleX(1); opacity: 1; left: 0; }
    80% { transform: scaleX(1); opacity: 1; left: 0; }
    100% { transform: scaleX(0); opacity: 0; left: 0; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.section-header {
    position: relative;
    display: inline-block;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: scaleX(0);
    animation: scan-line 4s infinite ease-in-out;
}

.shimmer-text {
    background: linear-gradient(110deg, 
        rgba(255,255,255,0.4) 45%, 
        rgba(255,255,255,1) 50%, 
        rgba(255,255,255,0.4) 55%);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 8s linear infinite;
}

.shimmer-box {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shimmer-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.05);
}

.shimmer-box::after {
    content: "";
    position: absolute;
    top: -75%;
    left: 0;
    width: 80%;
    height: 250%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0) 10%,
        rgba(255, 255, 255, 0.02) 25%,
        rgba(255, 255, 255, 0.08) 45%, 
        rgba(255, 255, 255, 0.12) 50%, 
        rgba(255, 255, 255, 0.08) 55%,
        rgba(255, 255, 255, 0.02) 75%,
        rgba(255, 255, 255, 0) 90%,
        transparent 100%
    );
    transform: translateX(-150%) rotate(10deg);
    animation: shimmer-sweep 8s infinite cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
    z-index: 10;
    backdrop-filter: blur(2px) brightness(1.15) contrast(1.1);
}

/* Stats & Branding */
.number-glow {
    animation: number-glow 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

@keyframes number-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.2);
        opacity: 1;
        transform: scale(1.02);
    }
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 0.5rem;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .play-icon {
    transform: scale(1);
}

.watch-label {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    background: rgba(0,0,0,0.5);
    padding: 4px 12px;
    border-radius: 4px;
}

.portfolio-card:hover .watch-label {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Video Modal Lightbox */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .video-container {
    transform: scale(1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3100;
}

.close-modal:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}
@media (max-width: 768px) {
    .section-header, h2.section-header {
        font-size: 1.8rem !important;
        white-space: nowrap;
        letter-spacing: 0;
    }
    
    .why-card {
        padding: 2.5rem 1.5rem !important;
        text-align: center;
    }
    
    .why-card h4 {
        font-size: 1.2rem;
        white-space: normal;
        line-height: 1.4;
    }

    .why-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .section-header, h2.section-header {
        font-size: 1.45rem !important;
        white-space: nowrap;
        word-break: keep-all;
    }
}
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .header-container {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .video-modal {
        padding: 1rem;
    }
    .close-modal {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

.reveal-step {
    opacity: 0 !important;
    transform: translateY(80px) scale(0.95) perspective(1000px) rotateX(5deg);
    filter: blur(20px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity, filter;
}

.reveal-step.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) perspective(1000px) rotateX(0deg);
    filter: blur(0);
}

/* Premium Reveal Animations */
.reveal {
    opacity: 0 !important;
    transform: translateY(60px) scale(0.95) perspective(1000px) rotateX(5deg);
    filter: blur(20px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity, filter;
}

.reveal.visible {
    opacity: 1 !important;
    transform: translateY(0) perspective(1000px) rotateX(0deg);
    filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.5s; }


/* Premium Form Styling - High-End Dark Mode Integration */
.contact-form-wrapper {
    background: #000 !important;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 
                0 0 20px rgba(255, 255, 255, 0.05);
    max-width: 850px;
    margin: 4rem auto 0;
    background: #000 !important;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-form-wrapper iframe {
    width: 130% !important;
    margin-left: -15% !important;
    opacity: 0.95;
    transition: all 0.5s ease;
    background: #000 !important;
    display: block;
    transform: scale(1.02);
    transform-origin: top center;
}

.contact-form-wrapper:hover iframe {
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        max-width: 100%;
        margin: 2rem 1rem 0;
        border-radius: 20px;
    }
    
    .contact-form-wrapper iframe {
        width: 100% !important;
        margin-left: 0 !important;
        transform: scale(1);
    }
}

/* Masterclass Minimalist Floating CTA */
.floating-cta {
    position: fixed !important;
    bottom: 35px !important;
    right: 35px !important;
    z-index: 2147483647 !important;
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 100px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floating-minimalist 4s infinite ease-in-out;
}

.cta-minimalist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
    transition: transform 0.3s ease;
}

.floating-cta:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(20, 20, 20, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
                0 0 20px rgba(255, 255, 255, 0.1);
}

.floating-cta:hover .cta-minimalist-icon {
    transform: rotate(-10deg) scale(1.1);
}

@keyframes floating-minimalist {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 30px !important;
        right: 20px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 2222222222 !important; /* Force front in all mobile stack */
        padding: 10px 22px;
        font-size: 0.95rem;
        gap: 10px;
        -webkit-backdrop-filter: blur(15px); /* Crucial for iOS/Safari */
        backdrop-filter: blur(15px);

    }
}
@keyframes premium-sweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sweep-text {
    background: linear-gradient(110deg, 
        rgba(255,255,255,0.4) 0%, 
        rgba(255,255,255,0.4) 35%, 
        rgba(255,255,255,1) 50%, 
        rgba(255,255,255,0.4) 65%, 
        rgba(255,255,255,0.4) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: premium-sweep 4s infinite linear;
}

.hero-slogan {
    font-size: 1.4rem;
}

.impact-desc {
    font-size: 1.3rem;
    max-width: 1200px;
    margin: 0 auto;
    word-break: keep-all; /* Prevent sub-optimal character-level breaking in CJK */
}


@media (max-width: 768px) {
    .hero-slogan {
        font-size: 0.8rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }
    .impact-desc {
        font-size: 0.78rem !important;
        line-height: 1.8 !important;
        max-width: 100% !important;
        padding: 0 30px;
        word-break: normal !important;
    }
    .mobile-br {
        display: block;
    }
}

.mobile-br {
    display: none;
}
