/* 
   Main Stylesheet for aiundressfree.xyz
   Unique teal/blue color scheme with modern design
*/

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

:root {
    /* Color Scheme - Completely different from previous websites */
    --primary: #00BFA6;
    --secondary: #0096C7;
    --dark: #0A1128;
    --light: #F8F9FA;
    --grey: #6C757D;
    --accent: #4CC9F0;
    
    /* Typography */
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Button Styles */
.primary-button, .secondary-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.primary-button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.secondary-button:hover {
    background-color: rgba(0, 191, 166, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-list a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width var(--transition-normal);
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(var(--primary), transparent 70%);
    opacity: 0.1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(var(--secondary), transparent 70%);
    opacity: 0.1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--grey);
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: #f9f9f9;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

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

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
}

.step {
    display: flex;
    align-items: flex-start;
    max-width: 300px;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: bold;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-sm);
    font-size: 1.25rem;
}

.step-content h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.step-content p {
    color: var(--grey);
    font-size: 0.95rem;
}

.steps-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Benefits Section */
.benefits {
    padding: var(--spacing-xl) 0;
    background-color: #f0f9f7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.benefit {
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.benefit h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.benefit p {
    color: var(--grey);
    font-size: 0.95rem;
}

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

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

.faq-item {
    margin-bottom: var(--spacing-sm);
    border: 1px solid #e9e9e9;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: #f3f3f3;
}

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

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

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

.faq-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

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

.faq-item.active .faq-answer {
    padding: var(--spacing-md);
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--grey);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

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

.cta h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

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

.cta .primary-button:hover {
    background: var(--light);
    color: var(--secondary);
}

/* Footer Styles */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-logo span {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--light);
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom p:first-child {
    margin-bottom: var(--spacing-xs);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-normal);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav-list a {
        display: block;
        padding: var(--spacing-sm) 0;
    }
    
    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        margin-bottom: var(--spacing-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}
