/* 
 * AIpornGeneratorSG.love CSS
 * Singapore AI Porn Generator Website
 * Unique design with Singapore-inspired elements
 */

:root {
    /* Color scheme inspired by Singapore flag and urban landscape */
    --primary: #E63946; /* Vibrant red */
    --secondary: #1D3557; /* Deep navy blue */
    --accent: #FF9E00; /* Singapore sunset orange */
    --light-accent: #A8DADC; /* Light teal */
    --dark: #0B1C2C; /* Darker navy */
    --light: #F1FAEE; /* Off-white */
    --gray: #888888;
    --text: #252525;
    --text-light: #FFFFFF;
    
    /* Other variables */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --card-radius: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

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

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

.container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

ul {
    list-style: none;
}

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

/* Geometric background pattern */
.bg-patterns {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--light);
    background-image: radial-gradient(var(--light-accent) 1px, transparent 1px),
                      radial-gradient(var(--light-accent) 1px, var(--light) 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.5;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

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

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.tagline {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.1), rgba(29, 53, 87, 0.1));
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    background-color: rgba(230, 57, 70, 0.2);
    z-index: -1;
    border-radius: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #FF5A67 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(230, 57, 70, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo-text-main {
    fill: var(--primary);
    font-weight: bold;
    font-size: 26px;
    font-family: 'Poppins', sans-serif;
}

.logo-text-porn {
    fill: var(--secondary);
    font-weight: medium;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
}

.logo-text {
    fill: var(--secondary);
    font-weight: medium;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
}

.logo-text-sg {
    fill: var(--accent);
    font-weight: bold;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

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

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2rem 0 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.hero-feature .feature-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
    position: relative;
}

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

.feature-card {
    background: var(--light);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(255, 158, 0, 0.1));
    color: var(--primary);
}

.feature-icon-wrap svg {
    width: 32px;
    height: 32px;
    stroke-width: 2px;
}

.feature-card h3 {
    margin: 1rem 0;
    color: var(--secondary);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #f9fafb;
    position: relative;
}

.process {
    max-width: 800px;
    margin: 4rem auto 3rem;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(29, 53, 87, 0.5));
}

.process-step {
    display: flex;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 2.5rem;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-details {
    background: white;
    border-radius: var(--card-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    flex: 1;
}

.step-details:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.step-details h3 {
    margin-bottom: 0.7rem;
    color: var(--secondary);
}

.step-details p {
    color: var(--gray);
    margin-bottom: 0;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Examples Section */
.examples {
    padding: 6rem 0;
    background: white;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.example-card {
    background: var(--light);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.example-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.example-card:hover::after {
    transform: scaleX(1);
}

.example-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(255, 158, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.example-icon svg {
    width: 28px;
    height: 28px;
}

.example-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.example-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #f9fafb;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
    transition: var(--transition);
    color: var(--secondary);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 0 1.5rem;
    position: relative;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

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

.keywords {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .footer-links h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile navigation */
    .nav-toggle-label {
        display: block;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        height: 100%;
    }
    
    nav ul li {
        margin-bottom: 1.5rem;
    }
    
    #nav-toggle:checked ~ nav {
        right: 0;
    }
    
    #nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    #nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    #nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

@media (max-width: 576px) {
    .examples-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process::before {
        display: none;
    }
    
    .step-number {
        margin: 0 auto 1.5rem;
    }
    
    .step-details {
        width: 100%;
    }
    
    .step-details:hover {
        transform: translateY(-5px);
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        margin-bottom: 1rem;
    }
}
