:root[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #ffffff;
    --gradient-primary: #EF5A2A;
    --gradient-secondary: rgba(239, 90, 42, 0.1);
    --button-bg: rgba(0, 0, 0, 0.95);
    --glow-color: rgba(239, 90, 42, 0.5);
    --video-brightness: 1;
}

:root[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #000000;
    --gradient-primary: #EF5A2A;
    --gradient-secondary: rgba(239, 90, 42, 0.2);
    --button-bg: rgba(255, 255, 255, 0.8);
    --button-content-bg: rgba(255, 255, 255, 0.95);
    --video-brightness: 1.2;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

.landing-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowAnimation {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.3;
    }
}

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 1rem;
}
.hero-title {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    opacity: 0.85;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
}

.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    padding: 0;
}

#ai-box {
    display: flex;
    gap: 10px;
    padding: 10px;
}

#userPrompt {
    flex: 1;
    padding: 8px;
}

#responseBox {
    white-space: pre-wrap;
    margin: 10px;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
}


@media screen and (max-width: 768px) {
    .button-content {
        padding: 16px 24px;
    }
    
    .play-button {
        width: 85%;
        max-width: 320px;
    }
    
    .hero-background img {
        object-position: left center;
    }
}

@media screen and (max-width: 480px) {
    .button-content {
        padding: 14px 20px;
    }
    
    .play-button {
        width: 90%;
        max-width: 280px;
    }
    
    .play-button::before {
        opacity: 0.8;
    }
    
    .hero-background img {
        object-position: left center;
    }
}

/* Add mockup section styles */
.mockup-section {
    position: relative;
    background: var(--bg-color);
    min-height: 100vh;
    padding: 80px 20px;
    z-index: 1;
    gap: 20px;
}

.mockup-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
    gap: 40px;
    padding: 5px;
}

.mockup-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(239, 90, 42, 0.05);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 16/9;
    cursor: pointer;
    opacity: 0;
    margin-bottom: 2rem;
    transform: translateY(80px);
    filter: blur(20px);
    transform: translateY(80px) scale(0.95);
}

.mockup-card.reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.mockup-card.reveal .card-overlay {
    opacity: 1;
    transition-delay: 0.2s;
}

.card-overlay h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-card.reveal .card-overlay h3 {
    transform: translateY(0);
    transition-delay: 0.3s;
}

@media screen and (max-width: 768px) {
    .mockup-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .mockup-section {
        padding: 40px 15px;
    }
    
    .mockup-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card-overlay h3 {
        font-size: 20px;
    }
}

/* Menu Styles */
.menu-toggle {
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 1000;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}


/* Staggered Hamburger Icon */
.ham-staggered {
    width: 48px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}
.ham-staggered .line {
    display: block;
    height: 1px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
.ham-staggered .line1 {
    width: 24px;
    margin-left: 12px;
}
.ham-staggered .line2 {
    width: 36px;
    margin-left: 0;
}
.ham-staggered .line3 {
    width: 28px;
    margin-left: 8px;
}

/* Modern Fullscreen Menu Overlay Styles */
.menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100vw;
    height: 70vh;
    background: rgba(32, 32, 32, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    z-index: 999;
    transition: top 0.5s cubic-bezier(.4,2,.6,1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    font-family: 'Poppins', 'Urbanist', 'Space Grotesk', Arial, sans-serif;
}
.menu.active {
    top: 0;
    height: 100vh;
}
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px 0 60px;
    min-height: 80px;
}
.menu-logo {
    max-height: 70px;
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-right: 18px;
}
.menu-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}
.menu-talk {
    background: none;
    border: 1.5px solid #fff;
    color: #fff;
    border-radius: 24px;
    padding: 8px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: border 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-talk .arrow {
    font-size: 1.2em;
}
.menu-talk:hover {
    border-color: var(--gradient-primary, #EF5A2A);
    color: var(--gradient-primary, #EF5A2A);
}
.menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-close:hover {
    background: rgba(255,255,255,0.08);
}
.menu-list {
    list-style: none;
    margin: 60px 0 0 0;
    padding: 0 60px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.menu-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 18px;
}
.menu-link-text {
    font-size: 2.8rem;
    font-weight: 100;
    letter-spacing: 0.5px;
    color: #fff;
}
.menu-link-num {
    font-size: 1.1rem;
    color: #888b97;
    margin-left: 16px;
    font-weight: 400;
}
.menu-list a {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.menu-arrow-btn {
    background: none;
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    margin-left: 24px;
    transform: skew(-15deg);
}
.menu-arrow-btn .arrow {
    width: 64px;
    height: auto;
    transform: skew(15deg);
    transition: filter 0.2s;
}
.menu-list li:hover .arrow {
    filter: brightness(0) saturate(100%) invert(48%) sepia(98%) saturate(1234%) hue-rotate(346deg) brightness(101%) contrast(101%);
}
@media (max-width: 900px) {
    .menu-header, .menu-list, .menu-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    .menu-list {
        gap: 24px;
    }
    .menu-connect {
        align-items: flex-start;
    }
}
@media (max-width: 600px) {
    .menu-header, .menu-list, .menu-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .menu-list li {
        padding-bottom: 10px;
    }
    .menu-link-text {
        font-size: 2rem;
    }
    .menu-arrow-btn .arrow{
        width: 40px;
    }
}

.menu-list li:hover .menu-link-text,
.menu-list li:hover .menu-link-num,
.menu-list li:hover .menu-arrow-btn .arrow {
    color: var(--gradient-primary, #EF5A2A);
}

/* Prototype Section Styles */
.prototype-section {
    padding: 80px 20px;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.prototype-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.prototype-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--button-bg);
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, 
        transparent,
        transparent 45%,
        var(--gradient-primary) 50%,
        transparent 55%,
        transparent
    );
    background-size: 200% 100%;
    animation: borderAnimation 3s linear infinite;
}

.prototype-button::before, .cta-button::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--button-bg);
    border-radius: 48px;
    z-index: 0;
}

.prototype-text,
.prototype-arrow {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.prototype-arrow {
    font-size: 20px;
    font-weight: 600;
}

.prototype-button:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 90, 42, 0.3);
}

.prototype-button:hover .prototype-text, .cta-button:hover .prototype-text {
    color: var(--gradient-primary);
}

.prototype-button:hover .prototype-arrow, .cta-button:hover .prototype-arrow {
    transform: translateX(4px);
    color: var(--gradient-primary);
}

@media screen and (max-width: 768px) {
    .prototype-section {
        padding: 60px 20px;
    }
    
    .prototype-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .prototype-container {
        gap: 16px;
    }
}

@media screen and (max-width: 480px) {
    .prototype-section {
        padding: 40px 15px;
    }
    
    .prototype-button {
        padding: 12px 24px;
        font-size: 14px;
        gap: 8px;
    }
    
    .prototype-arrow {
        font-size: 18px;
    }
    
    .prototype-container {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
}

/* CTA Button Styles (inherits from prototype-button) */
.cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--button-bg);
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, transparent 45%, var(--gradient-primary) 50%, transparent 55%, transparent);
    background-size: 200% 100%;
    animation: borderAnimation 3s linear infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--button-bg);
    border-radius: 48px;
    z-index: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 90, 42, 0.3);
}

.cta-button:hover .prototype-text {
    color: var(--gradient-primary);
}

.cta-button:hover .prototype-arrow {
    transform: translateX(4px);
    color: var(--gradient-primary);
}

/* Hero CTA Alignment */
.hero-cta {
    /* Ensure the button itself is flex for internal text/icon alignment */
    display: flex;
    justify-content: center;
    /* Allow it to stretch up to 300px but center itself */
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
}

/* Why Redesign Section Styles */
.why-redesign-section {
    padding: 120px 20px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.why-redesign-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gradient-primary), 
        transparent
    );
    opacity: 0.3;
}

.why-redesign-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 80px;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-primary), transparent);
    border-radius: 2px;
}

.design-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.design-point {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.design-point.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.design-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gradient-primary), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-point:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 90, 42, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.design-point:hover::before {
    opacity: 1;
}

.point-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.point-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.design-point:hover .point-icon {
    opacity: 1;
    transform: scale(1.1);
}

.design-point:hover .point-icon svg {
    filter: drop-shadow(0 4px 8px rgba(239, 90, 42, 0.3));
}

.design-point h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.design-point p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}








/* Loading Overlay Styles */
#loading-overlay{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 0 30px rgba(0,0,0,0.25) inset;
  z-index:9999;
}
.spinner{
  background-image:linear-gradient(#FF6B35 35%, #EF5A2A);
  width:100px;
  height:100px;
  animation:spinning82341 1.7s linear infinite;
  text-align:center;
  border-radius:50%;
  filter:blur(1px);
  box-shadow:0 0 40px 10px rgba(255,107,53,0.8), 0 0 40px 10px rgba(239,90,42,0.8);
}
.spinner1{
  background-color:rgb(36,36,36);
  width:100%;
  height:100%;
  border-radius:50%;
  filter:blur(10px);
}
@keyframes spinning82341{to{transform:rotate(360deg);} }

.loader-count{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-family:'Space Grotesk',sans-serif;
  font-weight:100;
  font-size:1.5rem;
  color:#fff;
  letter-spacing:1px;
}

/* Responsive Design for Why Redesign Section */
@media screen and (max-width: 768px) {
    .why-redesign-section {
        padding: 80px 20px;
    }
    .hero-text{
        width: 100vw;
    }
    .hero-title{
        font-size: 1.5rem;
    }
    .hero-subtitle{
        font-size: 1rem;
    }
    .design-points {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .design-point {
        padding: 30px 25px;
    }
    
    .section-title {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 480px) {
    .why-redesign-section {
        padding: 60px 15px;
    }
    
    .design-point {
        padding: 25px 20px;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
    
    .design-point h3 {
        font-size: 1.3rem;
    }
    
    .design-point p {
        font-size: 0.95rem;
    }
}

.view-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px 0;
    gap: 12px;
}

.toggle-btn {
    padding: 10px 32px;
    border: none;
    border-radius: 30px;
    background: transparent;
    color: var(--text-color, #fff);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    position: relative;
    z-index: 1;
    outline: none;
}

.toggle-btn.active {
    background: linear-gradient(90deg, #EF5A2A 0%, #FF6B35 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(239,90,42,0.10);
}

.mobile-mockup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 5rem;
}

.mobile-mockup-container img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
