/* 
   aiporngay.site - Main Stylesheet
   Orange-Gold Diamond Theme
*/

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF5722;
    --secondary: #FFC107;
    --dark: #263238;
    --darker: #0F1418;
    --light: #FFFFFF;
    --gray: #B0BEC5;
    --light-bg: #ECEFF1;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 30px rgba(255, 87, 34, 0.2);
    --border-radius: 0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--dark);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--light);
    margin-bottom: 0.5em;
}

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

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

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255, 87, 34, 0.4);
    color: var(--light);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    border: 2px solid rgba(255, 87, 34, 0.7);
    color: var(--primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(255, 87, 34, 0.1);
    transform: translateY(-3px);
    color: var(--primary);
}

/* Clip Path Utility */
.clip-diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(38, 50, 56, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(15, 20, 24, 0.98);
}

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

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

.logo svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    left: 0;
    bottom: -2px;
    transition: all 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-color: var(--darker);
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(255, 87, 34, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(135deg, rgba(255, 87, 34, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(45deg, transparent 75%, rgba(255, 87, 34, 0.05) 75%) 0 0,
        linear-gradient(135deg, transparent 75%, rgba(255, 87, 34, 0.05) 75%) 0 0;
    background-size: 60px 60px;
    top: 0;
    left: 0;
}

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

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.hero-image {
    position: relative;
}

/* Features Section */
.features {
    background-color: var(--dark);
    position: relative;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    height: 320px;
    width: 320px;
    margin: 0 auto;
}

.feature-content {
    transform: rotate(-45deg);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    top: 0;
    left: 0;
    padding: 40px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-icon {
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

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

/* Videos Section */
.videos {
    background-color: var(--darker);
    position: relative;
}

.videos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 87, 34, 0.03) 25%, transparent 25%) 0 0,
                linear-gradient(135deg, rgba(255, 87, 34, 0.03) 25%, transparent 25%) 0 0,
                linear-gradient(45deg, transparent 75%, rgba(255, 87, 34, 0.03) 75%) 0 0,
                linear-gradient(135deg, transparent 75%, rgba(255, 87, 34, 0.03) 75%) 0 0;
    background-size: 40px 40px;
}

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

.video-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.video-thumbnail {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(45deg, rgba(255, 87, 34, 0.05), rgba(255, 193, 7, 0.05));
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail::before {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid white;
    margin-left: 4px;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 10px;
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-stat {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.video-stat svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: var(--primary);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--dark);
    position: relative;
}

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

.step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    color: var(--light);
    font-size: 1.8rem;
    font-weight: 700;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* CTA Section */
.cta {
    background: var(--darker);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(255, 87, 34, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(135deg, rgba(255, 87, 34, 0.05) 25%, transparent 25%) 0 0,
        linear-gradient(45deg, transparent 75%, rgba(255, 87, 34, 0.05) 75%) 0 0,
        linear-gradient(135deg, transparent 75%, rgba(255, 87, 34, 0.05) 75%) 0 0;
    background-size: 60px 60px;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    background-color: var(--darker);
    padding: 70px 0 20px;
}

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

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--gray);
    margin-bottom: 25px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .feature-card {
        height: 280px;
        width: 280px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: auto;
        background-color: var(--darker);
        transition: all 0.3s ease;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .feature-card {
        height: 240px;
        width: 240px;
    }
    
    .feature-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .features-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-card {
        height: 200px;
        width: 200px;
    }
}
