/* premium-footer-section.css */

/* Core Footer Variables */
:root {
    --footer-navy-start: #071A33;
    --footer-navy-end: #020817;
    --footer-gold: #D4AF37;
    --footer-blue: #1E5EFF;
    --footer-white: #FFFFFF;
    --footer-glass-bg: rgba(255, 255, 255, 0.05);
    --footer-border-glass: rgba(255, 255, 255, 0.08);
}

.footer-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, var(--footer-navy-start) 0%, var(--footer-navy-end) 100%);
    padding: 100px 0 40px 0;
    overflow: hidden;
    color: var(--footer-white);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* Background graphics & curves */
.footer-ambient-glow {
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(30, 94, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.footer-curved-shape-left {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.footer-curved-shape-right {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.footer-noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
    pointer-events: none;
}

.footer-gold-line-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, var(--footer-gold) 50%, rgba(212, 175, 55, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

/* 4-Columns Grid */
.footer-columns-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr 2.6fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Column 1: branding details */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand-svg-icon {
    width: 32px;
    height: 32px;
    color: var(--footer-gold);
}

.footer-brand-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--footer-white);
}

.brand-gold-text {
    color: var(--footer-gold);
}

.footer-brand-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 26px 0;
}

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

.social-glass-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, color 300ms ease;
    text-decoration: none;
}

.social-svg-icon {
    width: 17px;
    height: 17px;
}

.social-glass-btn:hover {
    background-color: var(--footer-blue);
    border-color: var(--footer-gold);
    color: var(--footer-white);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Column Titles */
.footer-col-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--footer-white);
    margin: 0 0 24px 0;
    letter-spacing: 0.5px;
}

/* Columns 2 & 3: lists */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 300ms ease, transform 300ms ease;
}

.link-chevron {
    width: 10px;
    height: 10px;
    color: rgba(255, 255, 255, 0.35);
    transition: transform 300ms ease, color 300ms ease;
}

.link-gold-icon {
    width: 12px;
    height: 12px;
    color: var(--footer-gold);
    transition: color 300ms ease;
}

/* Links Hover animations */
.footer-links-list li a:hover {
    color: var(--footer-gold);
    transform: translateX(4px);
}

.footer-links-list li a:hover .link-chevron {
    color: var(--footer-gold);
    transform: translateX(2px);
}

.footer-links-list li a:hover .link-gold-icon {
    filter: drop-shadow(0 0 4px rgba(30, 94, 255, 0.6));
}

/* Column 4: Newsletter Form Card */
.footer-newsletter-card {
    background: var(--footer-glass-bg);
    border: 1px solid var(--footer-border-glass);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.newsletter-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.newsletter-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--footer-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-svg {
    width: 18px;
    height: 18px;
}

.footer-newsletter-card .newsletter-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0;
}

.newsletter-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px 0;
}

.newsletter-form-element {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input-wrapper {
    display: flex;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
    overflow: hidden;
}

.newsletter-input {
    width: 100%;
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 13.5px;
    color: var(--footer-white);
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-btn {
    background-color: var(--footer-gold);
    color: var(--footer-navy-end);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.newsletter-arrow-svg {
    width: 14px;
    height: 14px;
    transition: transform 300ms ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.newsletter-btn:hover .newsletter-arrow-svg {
    transform: translateX(3px);
}

.newsletter-consent-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 4px;
}

.consent-checkbox-input {
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--footer-gold);
}

.consent-label-text {
    font-size: 10.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

/* Feature Strip styling */
.footer-feature-strip {
    background-color: var(--footer-glass-bg);
    border: 1px solid var(--footer-border-glass);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    box-sizing: border-box;
}

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

.footer-feature-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 0 20px;
    position: relative;
    cursor: pointer;
    transition: transform 300ms ease;
}

/* Dividers */
.footer-feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-feature-item:first-child { padding-left: 0; }
.footer-feature-item:last-child { padding-right: 0; }

.footer-feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--footer-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.feat-svg {
    width: 18px;
    height: 18px;
}

.footer-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feat-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--footer-white);
    margin: 0;
}

.feat-desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Feature Hover state */
.footer-feature-item:hover {
    transform: translateY(-4px);
}

.footer-feature-item:hover .footer-feature-icon-wrapper {
    background-color: var(--footer-gold);
    color: var(--footer-white);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Contact Strip (Dark Card) */
.footer-contact-strip {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 50px;
    box-sizing: border-box;
}

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

.footer-contact-col-item {
    display: flex;
    gap: 18px;
    align-items: center;
    cursor: pointer;
    transition: transform 300ms ease;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--footer-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 300ms ease;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-info-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.footer-contact-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--footer-white);
    margin: 0;
}

.footer-contact-link {
    color: var(--footer-white);
    text-decoration: none;
    transition: color 300ms ease;
}

.footer-contact-link:hover {
    color: var(--footer-gold);
}

.footer-contact-desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Contact Column Hover */
.footer-contact-col-item:hover {
    transform: translateY(-3px);
}

.footer-contact-col-item:hover .footer-contact-icon {
    color: var(--footer-gold);
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
    width: 100%;
    position: relative;
}

.footer-bottom-line-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.15) 50%, rgba(212, 175, 55, 0) 100%);
    margin-bottom: 24px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright-text {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-licensed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--footer-gold);
}

.licensed-shield-svg {
    width: 14px;
    height: 14px;
}

.footer-codekap-branding {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

.codekap-gradient-text {
    background: linear-gradient(135deg, var(--footer-gold) 0%, #AA820A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-decoration: none;
}

/* Responsive Breakpoints */

/* Tablet & Smaller (2x2 Grid) */
@media (max-width: 1024px) {
    .footer-section {
        padding: 80px 0 30px 0;
    }
    
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .footer-feature-item::after {
        display: none !important;
    }
    
    .footer-feature-item {
        padding: 0;
    }
    
    .footer-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile & Single Column Layouts */
@media (max-width: 768px) {
    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}
