/* 
 * Thiết kế CSS cho deepnudetelegramVN.site
 * Màu chính: Cam (#FF5722) và Vàng (#FFEB3B)
 */

:root {
    --primary: #FF5722;
    --secondary: #FFEB3B;
    --dark: #212121;
    --light: #FFFFFF;
    --gray: #757575;
    --light-gray: #FAFAFA;
    --bg-light: #FFF3E0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 5px 20px rgba(255, 87, 34, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset và thiết lập cơ bản */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Thanh thông báo trên cùng */
.notification-bar {
    background-color: var(--dark);
    color: white;
    padding: 10px 0;
    text-align: center;
}

.notification-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.highlight-badge {
    background-color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Header và Navigation */
.site-header {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* Menu hamburger */
.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.menu-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transition: 0.3s;
}

.menu-button span:nth-child(1) { top: 0; }
.menu-button span:nth-child(2) { top: 10px; }
.menu-button span:nth-child(3) { top: 20px; }

.menu-toggle:checked ~ .menu-button span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

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

.menu-toggle:checked ~ .menu-button span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.cta-button):hover {
    color: var(--primary);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.cta-button:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
}

/* Hero section */
.hero-section {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.05), transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 550px;
}

.tag-badge {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.primary-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gradient);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.secondary-button {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.large-button {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Hexagonal design for hero visual */
.hexagon-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features section */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.08), transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.08), transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* How to use section */
.how-to-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.step-icon-container {
    position: relative;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
}

.cta-container {
    text-align: center;
    margin-top: 60px;
}

/* FAQ section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

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

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

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

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

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

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

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

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

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

.faq-answer p {
    color: var(--gray);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.footer-site-info {
    text-align: center;
}

.footer-site-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-nav h4, .footer-legal h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
}

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

.footer-nav ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a, .footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav a:hover, .footer-legal a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

/* Responsive styles */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hexagon-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon-container {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-nav, .footer-legal {
        text-align: center;
    }
    
    .footer-nav h4::after, .footer-legal h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Mobile menu */
    .menu-button {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100%;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px;
        transition: 0.3s;
        z-index: 5;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }
    
    .menu-toggle:checked ~ .site-nav {
        right: 0;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
