/*
   aipornanime.site - Main Stylesheet
   Orange/Red Anime-Inspired Theme
   Mobile-first responsive design
*/

/* === Base Styles === */
:root {
    --gradient-start: #FF6B00;
    --gradient-end: #FF0062;
    --accent: #FFD700;
    --text: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --background: #18020F;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
    --border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(255, 107, 0, 0.15), transparent 60%),
        radial-gradient(circle at bottom left, rgba(255, 0, 98, 0.15), transparent 60%),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h1 {
    font-size: 1.8rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

section {
    padding: 4rem 0;
}

.highlight {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* === Header & Navigation === */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(24, 2, 15, 0.9);
    backdrop-filter: blur(10px);
}

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

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

.logo-icon {
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.menu-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(24, 2, 15, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.main-nav.active {
    transform: translateX(0);
}

.main-nav ul {
    list-style-type: none;
    text-align: center;
}

.main-nav ul li {
    margin: 1.5rem 0;
}

.main-nav ul li a {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem !important;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 98, 0.3);
}

/* === Hero Section === */
.hero {
    padding: 2rem 0 5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 98, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 98, 0.4);
    color: white;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(5px);
}

.hero-visual {
    margin-top: 2rem;
    max-width: 100%;
}

/* === Features Section === */
.features {
    text-align: center;
    position: relative;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: var(--card-bg-hover);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.feature-icon {
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* === How It Works Section === */
.how-it-works {
    text-align: center;
    padding-top: 5rem;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.step {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 98, 0.3);
}

.step-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step:hover .step-content {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--card-bg-hover);
}

.cta-container {
    margin-top: 4rem;
}

/* === FAQ Section === */
.faq {
    text-align: center;
    padding-top: 5rem;
}

.faq-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.3);
    background-color: var(--card-bg-hover);
}

.faq-item h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* === Footer === */
footer {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo p {
    margin-left: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* === Animations === */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .step, .faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.animate, .step.animate, .faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* === Media Queries === */
@media (min-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .main-nav {
        position: static;
        height: auto;
        transform: none;
        flex-direction: row;
        background-color: transparent;
        width: auto;
    }
    
    .main-nav ul {
        display: flex;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 0 1.5rem;
    }
    
    .main-nav ul li a {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    
    .hero-text h2 {
        font-size: 3rem;
    }
    
    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

@media (min-width: 992px) {
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-text h2 {
        font-size: 3.5rem;
    }
}
