/* 
   howtocreateaiporn.love CSS Stylesheet
   Modern and responsive design with teal color scheme
*/

/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #06B6D4;
    --primary-dark: #0891B2;
    --primary-light: #22D3EE;
    --accent-color: #F97316;
    --background-color: #F9FAFB;
    --text-color: #1F2937;
    --light-gray: #F3F4F6;
    --gray: #9CA3AF;
    --dark-gray: #4B5563;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --radius: 10px;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--background-color);
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

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

h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

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

.logo a {
    display: inline-block;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

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

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

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(6, 182, 212, 0) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

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

.hero-content h1 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 12px 24px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--gray);
    margin-left: 15px;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

/* Guide Section */
.guide {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--text-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    background-color: var(--background-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.guide-cta {
    text-align: center;
    margin-top: 40px;
}

/* Tools Section */
.tools {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tool-icon {
    margin-bottom: 20px;
}

.tool-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.tool-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--dark-gray);
}

.tool-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.tool-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.tool-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--white);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 30px;
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px 30px;
}

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

.faq-item.active .faq-question h3, 
.faq-item.active .toggle-icon {
    color: var(--white);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: #111827;
    color: var(--light-gray);
    padding: 70px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

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

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

.footer-column ul li {
    margin-bottom: 12px;
}

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

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

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

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

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-graphic {
        margin-top: 40px;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 var(--radius) var(--radius);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .steps-container, .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-icon {
        margin-top: 20px;
        justify-content: center;
    }
}
