/* 
 * DeepnudeUS.site - Main Stylesheet
 * American-themed design with optimized mobile responsiveness
 */

/* === CSS Variables === */
:root {
    /* American-inspired color palette */
    --primary-blue: #3c3b6e;    /* American flag blue */
    --primary-red: #b22234;     /* American flag red */
    --dark-blue: #1d1b4c;
    --light-blue: #5a59a5;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e0e0e0;
    --medium-gray: #999999;
    --dark-gray: #333333;
    --black: #000000;
    
    /* Font families */
    --heading-font: 'Montserrat', 'Arial', sans-serif;
    --body-font: 'Open Sans', 'Arial', sans-serif;
    
    /* Spacing */
    --section-spacing: 80px;
    --container-padding: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 2.8rem;
    margin-top: 0;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--light-blue);
}

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

ul {
    list-style: none;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(178, 34, 52, 0.3);
}

.primary-btn:hover {
    background-color: #a01d2c;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(178, 34, 52, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 10px rgba(60, 59, 110, 0.2);
}

.secondary-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(60, 59, 110, 0.3);
}

/* === Header Styles === */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul.menu {
    display: flex;
    gap: 25px;
}

nav ul.menu li a {
    font-weight: 600;
    color: var(--dark-blue);
    padding: 5px 0;
    position: relative;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === Hero Section === */
#hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1, .hero-content h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.8rem;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-content p {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.hero-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.star-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
        2px 2px at 20px 30px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 40px 80px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 60px 130px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 80px 180px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 100px 230px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 120px 280px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 140px 330px, var(--white), rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        2px 2px at 160px 380px, var(--white), rgba(0, 0, 0, 0)
    );
    background-repeat: repeat;
    background-size: 200px 400px;
    opacity: 0.3;
    animation: stars-moving 100s linear infinite;
}

.hero-shape {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-red) 0%, rgba(178, 34, 52, 0) 70%);
    opacity: 0.6;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes stars-moving {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 400px;
    }
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-50%) scale(0.95);
        opacity: 0.5;
    }
}

/* === Features Section === */
#features {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

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

.feature-icon svg {
    width: 64px;
    height: 64px;
    fill: var(--primary-blue);
}

.feature-card h3 {
    margin-bottom: 15px;
}

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

/* === How It Works Section === */
#how-it-works {
    padding: var(--section-spacing) 0;
    background-color: var(--off-white);
    position: relative;
}

#how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(60, 59, 110, 0.1) 0%, rgba(60, 59, 110, 0) 25%),
        radial-gradient(circle at 80% 80%, rgba(178, 34, 52, 0.1) 0%, rgba(178, 34, 52, 0) 25%);
}

.steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto 50px;
    z-index: 1;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    padding-top: 5px;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 24px;
    height: calc(100% - 10px);
    width: 2px;
    background-color: var(--light-gray);
}

.cta-center {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* === Technology Section === */
#technology {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

#technology .section-title {
    color: var(--white);
}

#technology .section-title::after {
    background-color: var(--white);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tech-info {
    padding-right: 20px;
}

.tech-info p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.tech-features {
    margin: 0;
}

.tech-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.check-mark {
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.tech-highlight {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    padding: 20px 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-red);
    font-family: var(--heading-font);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* === FAQ Section === */
#faq {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

/* === CTA Banner === */
#cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-red), #d42940);
    color: var(--white);
    text-align: center;
}

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

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

#cta-banner .primary-btn {
    background-color: var(--white);
    color: var(--primary-red);
}

#cta-banner .primary-btn:hover {
    background-color: var(--off-white);
    color: var(--primary-red);
}

/* === Footer === */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-nav-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.footer-nav-column ul li a:hover {
    color: var(--white);
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-tags span {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
}

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

/* === Responsive Styles === */
@media (max-width: 992px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .tech-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 50px;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav ul.menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    nav ul.menu.active {
        right: 0;
    }
    
    nav ul.menu li {
        width: 100%;
    }
    
    nav ul.menu li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 40px;
        --container-padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}
