/* 
 * AIpornGeneratorIN.site - भारतीय स्टाइल CSS
 * भारतीय रंग योजना: तिरंगा प्रेरित (#FF5722 संतरी, #FFFFFF सफेद, #509E2F हरा)
 */

/* मूलभूत परिवर्तनीय */
:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FFAB91;
    --secondary: #FFB74D;
    --secondary-dark: #FF9800;
    --accent: #509E2F;
    --accent-dark: #388E3C;
    --text-dark: #212121;
    --text-medium: #616161;
    --text-light: #FFFFFF;
    --background: #FFFFFF;
    --background-alt: #FFF8E1;
    --background-dark: #37474F;
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(255, 87, 34, 0.1);
    --transition: all 0.3s ease;
    --section-padding: 7rem 0;
}

/* रीसेट और मूल स्टाइल */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

h1 {
    font-size: 4.2rem;
    font-weight: 800;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.6rem;
}

p {
    margin-bottom: 1.6rem;
    color: var(--text-medium);
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* कंटेनर */
.container {
    width: 92%;
    max-width: 124rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* बटन */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 2.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
}

.btn-light {
    background: var(--text-light);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--background);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    transform: scale(0);
    animation: pulse 2s infinite;
}

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

/* हेडर और नेविगेशन */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.site-header.sticky {
    padding: 1.2rem 0;
}

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

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

.logo-svg {
    height: 4.8rem;
    width: auto;
}

.logo span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 3.2rem;
}

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

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
}

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

.menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3.2rem;
    height: 2.4rem;
    position: relative;
}

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

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:last-child {
    bottom: 0;
}

.menu-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.menu-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* हीरो सेक्शन */
.hero {
    padding: 20rem 0 12rem;
    position: relative;
    background: radial-gradient(circle at top right, var(--background-alt), var(--background));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(255, 183, 77, 0.2), rgba(255, 183, 77, 0));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.hero-content {
    flex: 1;
    max-width: 64rem;
}

.badge {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(45deg, var(--accent), var(--accent-dark));
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.4rem;
    border-radius: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(80, 158, 47, 0.2);
}

.hero h1 {
    margin-bottom: 2.4rem;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3.2rem;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

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

.metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.metric-label {
    font-size: 1.4rem;
    color: var(--text-medium);
}

.hero-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 100%;
    max-width: 35rem;
    filter: drop-shadow(0 20px 30px rgba(255, 87, 34, 0.2));
}

/* सेक्शन हेडर */
.section-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 6rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* विशेषताएँ सेक्शन */
.features-section {
    padding: var(--section-padding);
    background-color: var(--background);
    position: relative;
}

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

.feature-card {
    padding: 3.5rem;
    border-radius: var(--border-radius);
    background-color: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover::before {
    height: 100%;
}

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

.feature-icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 2.5rem;
}

.feature-card h3 {
    margin-bottom: 1.6rem;
    font-size: 2.2rem;
}

/* वर्कफ्लो सेक्शन */
.workflow-section {
    padding: var(--section-padding);
    background-color: var(--background-alt);
    position: relative;
}

.workflow-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8rem;
}

.workflow-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    border-radius: 50%;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2.5rem;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

.workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    margin-top: 6rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 5rem 4rem;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 15px 30px rgba(255, 87, 34, 0.2);
}

.cta-box h3 {
    color: var(--text-light);
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* समीक्षा सेक्शन */
.reviews-section {
    padding: var(--section-padding);
    background-color: var(--background);
}

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

.review-card {
    padding: 3.5rem;
    border-radius: var(--border-radius);
    background-color: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.review-card.featured {
    border-bottom: 3px solid var(--primary);
    transform: translateY(-10px);
}

.review-card:hover {
    transform: translateY(-8px);
}

.review-stars {
    color: var(--secondary-dark);
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.review-text {
    font-style: italic;
    font-size: 1.7rem;
    margin-bottom: 2.2rem;
    color: var(--text-dark);
}

.review-author {
    font-weight: 600;
    color: var(--primary);
}

/* FAQ सेक्शन */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2.2rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 87, 34, 0.05);
}

.faq-question h3 {
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
    transition: var(--transition);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

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

.faq-item.active .faq-answer {
    padding: 0 2.2rem 2.2rem;
    max-height: 50rem;
}

/* CTA सेक्शन */
.cta-section {
    padding: 12rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
    z-index: 1;
}

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

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

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto 4rem;
}

/* फुटर */
.site-footer {
    padding: 7rem 0 3rem;
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.footer-brand {
    margin-bottom: 2.5rem;
}

.footer-logo {
    height: 4.8rem;
    width: auto;
    margin-bottom: 2.2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    max-width: 32rem;
}

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

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

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 2px;
    background-color: var(--primary);
}

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

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

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

.footer-column a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    margin: 0;
}

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

.footer-icon {
    width: 3.2rem;
    height: auto;
}

/* एनिमेशन */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* मीडिया क्वेरी */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .workflow-container {
        flex-direction: column;
    }
    
    .workflow-step {
        margin-bottom: 4rem;
    }
    
    .workflow-connector {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 5rem 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        z-index: 999;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 18rem 0 8rem;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
