@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body.premium-theme {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

body.premium-theme p,
body.premium-theme h1,
body.premium-theme h2,
body.premium-theme h3,
body.premium-theme h4,
body.premium-theme h5,
body.premium-theme h6,
body.premium-theme label,
body.premium-theme span,
body.premium-theme div {
    color: inherit;
    /* Ensure they use text-primary from body */
}

body.premium-theme h1,
body.premium-theme h2,
body.premium-theme h3,
body.premium-theme h4,
body.premium-theme h5,
body.premium-theme h6 {
    color: #fff;
    /* Headings deserve pure white */
}

/* Header */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.premium-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.premium-logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.premium-logo img:hover {
    transform: scale(1.05);
}

.premium-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.premium-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

.premium-header.fixed .premium-nav a {
    color: var(--text-primary);
}

.premium-nav a:hover {
    color: var(--accent-blue);
}

.premium-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 0.3s ease;
}

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

.premium-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-glow);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: float 8s ease-in-out infinite alternate;
}

.hero-bg-glow-2 {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: float 10s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 72px;
    /* Increased from 64px */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
}

.hero-title span {
    background: linear-gradient(135deg, #60A5FA, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.premium-btn-outline {
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.premium-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
}

.hero-image-container {
    width: 100%;
    max-width: 700px;
    /* Increased from 600px */
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floatingHero 6s ease-in-out infinite;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
    box-shadow: 0 50px 120px -30px rgba(59, 130, 246, 0.3);
}

.realistic-hero-img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    position: relative;
    z-index: 2;
}

.img-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatingHero {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-12deg) rotateX(3deg) translateY(-20px);
    }
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.r {
    background: #ef4444;
}

.mockup-dot.y {
    background: #eab308;
}

.mockup-dot.g {
    background: #22c55e;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-row {
    display: flex;
    gap: 15px;
}

.mockup-chart {
    height: 120px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
    border-radius: 10px;
    flex: 2;
    border: 1px solid var(--glass-border);
    position: relative;
}

.mockup-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 40 Q 15 10, 30 25 T 60 15 T 100 5 L 100 40 Z" fill="none" stroke="%233b82f6" stroke-width="2"/></svg>') no-repeat bottom;
    background-size: 100% 100%;
    opacity: 0.8;
}

.mockup-stat {
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    flex: 1;
    border: 1px solid var(--glass-border);
    padding: 15px;
}

.mockup-stat-title {
    width: 60%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
}

.mockup-stat-val {
    width: 80%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.mockup-list {
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-item {
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    width: 100%;
}


/* Features Section */
.features-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper img {
    width: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Split */
.services-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.services-content {
    flex: 1;
}

.services-visual {
    flex: 1;
    position: relative;
}

.visual-circle {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--glass-border);
    position: relative;
    animation: spinSlow 30s linear infinite;
}

.visual-inner {
    position: absolute;
    top: 10%;
    right: 10%;
    bottom: 10%;
    left: 10%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.visual-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px var(--accent-glow);
}

.visual-core img {
    width: 60%;
    filter: brightness(0) invert(1);
}

@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.service-item {
    margin-bottom: 30px;
}

.service-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-item-title::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.service-item-desc {
    color: var(--text-secondary);
    padding-left: 25px;
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    padding: 100px 20px;
    margin-top: 50px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 0.5) 100%);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Premium Footer */
.premium-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 20px 40px;
    background: #0B0F19;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    height: 45px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .premium-nav ul {
        display: none;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-section {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .premium-header {
        padding: 12px 0;
    }

    .premium-header .container {
        padding: 0 15px;
    }

    .premium-logo img {
        height: 35px;
    }

    .premium-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-bg-glow {
        width: 300px;
        height: 300px;
        left: 0;
    }

    .hero-bg-glow-2 {
        width: 250px;
        height: 250px;
        right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Authentication Pages (Login/Signup) */
.premium-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
}

.premium-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.premium-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

.premium-auth-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.premium-form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
}

.premium-form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
}

.premium-form-control::placeholder {
    color: var(--text-secondary) !important;
}

.premium-form-select {
    background-color: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    cursor: pointer;
}

.premium-form-select option {
    background: var(--bg-dark);
    color: #fff;
}

.premium-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.premium-link:hover {
    color: var(--accent-purple);
}

.auth-info-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.auth-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.auth-info-box div:first-child {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.auth-info-box div:last-child {
    color: var(--text-secondary);
    font-size: 14px;
}

.text-muted1 {
    color: var(--text-secondary) !important;
}

/* Dashboard Styling */
.tiles-view,
.info-box,
.semi-transaparent {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 15px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.tiles-view::before,
.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.tiles-view:hover::before,
.info-box:hover::before {
    opacity: 1;
}

.tiles-view:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.tiles-view label,
.info-box h5,
.info-box div:first-child {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.tiles-view .textinfo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 5px 0 15px;
}

.tiles-view a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
}

.tiles-view a:hover {
    background: var(--accent-blue);
    color: #fff;
}

.page-header,
.header-box-bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.page-header::before,
.header-box-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

.page-header {
    margin-top: 20px;
    /* adjusted because dashboard header already exists */
}

.header-box-bg {
    margin-top: 30px;
}

.header-box-bg .d-flex {
    width: 100%;
}

.header-box-bg .d-flex>div:last-child {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-box-bg a.logout {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-box-bg a.logout i {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.header-box-bg a.logout:hover {
    color: var(--accent-blue);
}

.page-header .text-warning {
    color: var(--accent-blue) !important;
    font-weight: 700;
    font-size: 18px;
}

.page-header .h6 b {
    color: #fff;
    font-size: 24px;
}

.form-referral {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--accent-blue) !important;
    border-radius: 8px !important;
    font-weight: 600;
}

/* Base modal overrides for glassmorphism */
.modal-content {
    background: var(--bg-card) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(16px) !important;
    color: var(--text-primary) !important;
    border-radius: 20px !important;
}

.modal-header {
    border-bottom: 1px solid var(--glass-border) !important;
}

.modal-header .modal-title {
    color: #fff !important;
}

.modal-footer {
    border-top: 1px solid var(--glass-border) !important;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

/* Dashboard Footer */
body.premium-theme>footer:not(.premium-footer) {
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
}

body.premium-theme>footer:not(.premium-footer) h5.text-warning {
    color: var(--accent-blue) !important;
    font-size: 18px;
    margin-bottom: 20px;
}

body.premium-theme>footer:not(.premium-footer) .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

body.premium-theme>footer:not(.premium-footer) .social-icons img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s, filter 0.3s;
    filter: brightness(0) invert(1) opacity(0.7);
}

body.premium-theme>footer:not(.premium-footer) .social-icons a:hover img {
    transform: translateY(-3px);
    filter: brightness(0) invert(1) opacity(1);
}

body.premium-theme>footer:not(.premium-footer) div:last-child {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Contact Page Styling */
.contact-premium-section {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.contact-hero-wrapper {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Increased opacity from var(--glass-border) */
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.contact-visual-hero {
    width: 100%;
    max-width: 550px;
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floatingHero 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-visual-hero:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
    box-shadow: 0 50px 120px -30px rgba(59, 130, 246, 0.3);
}

.floating-illustration {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    position: relative;
    z-index: 2;
}

/* Replaced by floatingHero for consistency */

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    opacity: 0.5;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.contact-card.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.5);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.contact-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.premium-label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .contact-hero-wrapper {
        padding: 40px;
        text-align: center;
    }

    .contact-visual-hero {
        margin-top: 40px;
    }
}