/* 
 * undressappdownload.love - Main Styles
 * Unique blue-purple gradient theme for AI undress app download site
 */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #4A00E0;
    --secondary-color: #00BCD4;
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --dark-color: #111111;
    --text-color: #333333;
    --light-text: #ffffff;
    --muted-text: #888888;
    --light-bg: #f8f8f8;
    --dark-bg: #222222;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-padding: 0 1.5rem;
    
    /* Borders & Shadows */
    --border-radius: 10px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(74, 0, 224, 0.2);
    
    /* Transitions */
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
}

/* ===== RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 700;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.section-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted-text);
    font-size: 1.8rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--light-text);
    border: none;
    box-shadow: 0 4px 15px rgba(74, 0, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 0, 224, 0.4);
    color: var(--light-text);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(74, 0, 224, 0.05);
    transform: translateY(-3px);
}

.btn-cta {
    background: #fff;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: var(--primary-color);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-color);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.6rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-fast);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-gradient);
    color: var(--light-text) !important;
    padding: 1rem 2rem;
    border-radius: 5rem;
}

.nav-cta:hover {
    color: var(--light-text) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 0, 224, 0.3);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition-fast);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 18rem 0 12rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 2.5rem;
}

.hero-text p {
    font-size: 1.8rem;
    color: var(--muted-text);
    margin-bottom: 4rem;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.hero-svg {
    max-width: 100%;
    height: auto;
}

/* Hero SVG Animations */
.hero-svg .app-screen {
    animation: pulse 2s infinite alternate;
}

.hero-svg .transform-circle {
    animation: glow 1.5s infinite alternate;
}

.hero-svg .download-arrow {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: dash 2s 0.5s forwards;
}

.hero-svg .ai-node {
    animation: pulse 1.5s infinite alternate;
}

.hero-svg .ai-connection {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: dash 3s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes glow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.9;
    }
}

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

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--muted-text);
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: var(--section-padding);
    background-color: var(--card-bg);
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    counter-reset: step-counter;
}

.step-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 3.5rem 3rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    position: relative;
    counter-increment: step-counter;
}

.step-card::before {
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--light-text);
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(74, 0, 224, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 2rem;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.step-card p {
    color: var(--muted-text);
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
}

.faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--text-color);
    transition: var(--transition-fast);
    flex: 1;
}

.faq-toggle {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition-fast);
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 0 2.5rem 2rem;
    max-height: 500px;
}

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

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 10rem 0;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--light-text);
    margin-bottom: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.cta-section .btn-cta {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    font-size: 2rem;
    padding: 1.8rem 4rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-bg);
    padding: 8rem 0 2rem;
    color: var(--light-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light-text);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-links-column h4 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 1.2rem;
}

.footer-links-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.footer-links-column a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 5rem;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .footer-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--light-bg);
        padding: 10rem 3rem;
        transition: var(--transition-medium);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-heading h2 {
        font-size: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-section {
        padding: 15rem 0 8rem;
    }
    
    .feature-card,
    .step-card {
        padding: 2.5rem 2rem;
    }
    
    .step-card::before {
        top: -15px;
        left: -15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .feature-icon,
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-section {
        padding: 8rem 0;
    }
    
    .cta-section .btn-cta {
        padding: 1.5rem 3rem;
    }
    
    .faq-question {
        padding: 1.5rem 2rem;
    }
    
    .faq-question h3 {
        font-size: 1.6rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 2rem 1.5rem;
    }
}
