/* ======= Base Styles - Shared Across All Pages ======= */

/* Core Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #f74769;
    --secondary: #5d2cf2;
    --dark: #0d0e26;
    --light: #f5f5ff;
    --accent: #0cf;
}

/* Base Layout */
body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    background: linear-gradient(135deg, #0d0e26 0%, #131740 100%);
}

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(247, 71, 105, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Buttons */
.cta-button {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 44, 242, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 44, 242, 0.5);
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--light);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    margin: 20px auto 0;
}

/* Card Styles */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

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

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--light);
    font-weight: 500;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--light);
    font-size: 16px;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(93, 44, 242, 0.3);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 60px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-heading {
    font-size: 18px;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    margin-top: 10px;
}

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

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Social Icons */
.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
}

.social-icon:hover {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transform: translateY(-3px);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 26px;
    }
}