:root {
    --au-navy: #004880;
    --au-navy-dark: #002d50;
    --au-gold: #C5A034;
    --au-gold-light: #D9B779;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --navy-glass: rgba(0, 72, 128, 0.9);
    --gold-glass: rgba(197, 160, 52, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f0f2f5;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

/* Premium Navigation */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.premium-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: none;
    /* Full width */
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    /* Jilet gibi kenarlarda! */
}

.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

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

.logo-divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
}

.nav-left .nav-logo {
    height: 52px;
    /* Enlarged AU logo */
}

.nav-right .nav-logo {
    height: 38px;
    /* Standard TTO logo */
}

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

.nav-links a {
    text-decoration: none;
    color: var(--au-navy);
    font-weight: 600;
    margin-left: 30px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--au-gold);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(0, 72, 128, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 52, 0.05) 0%, transparent 40%);
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 52, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.premium-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.premium-platform-tag {
    font-size: 1rem;
    color: var(--au-navy);
    margin-bottom: 40px;
    letter-spacing: 4px;
    font-weight: 700;
    opacity: 0.8;
}

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

.navy-text {
    color: var(--au-navy);
}

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

.navy-text {
    color: var(--au-navy);
}

.hero-3d-wrapper {
    position: fixed;
    top: 55vh;
    left: 50%;
    width: 500px;
    height: 350px;
    pointer-events: none;
    z-index: 100;
    transform: translateX(-50%) scale(0.85);
}

/* Shadow/Ambient effect remains but without vertical pulse if desired, or keep it subtle */
.hero-3d-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    filter: blur(5px);
    border-radius: 100%;
    z-index: -1;
    opacity: 0.2;
}

.hero-3d-wrapper:active {
    cursor: grabbing;
}

.premium-3d-container {
    width: 100%;
    height: 100%;
}

.model-info-tag {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #999;
}

/* Base Buttons */
.p-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Hero actions container - ensure visibility */
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.hero-actions .p-btn {
    opacity: 1 !important;
    /* Fallback - ensure buttons are always visible */
}

.p-btn-primary {
    background: var(--au-navy);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 72, 128, 0.2);
}

.p-btn-secondary {
    background: white;
    color: var(--au-navy);
    border: 2px solid var(--au-navy);
}

.p-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Form Sections */
/* Structured Lists for Expertise, Projects, Publications */
.structured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.structured-list input,
.structured-list textarea {
    width: 100%;
    margin-bottom: 0 !important;
}

.structured-list textarea {
    resize: none;
    line-height: 1.4;
}

.expertise-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.project-input,
.publication-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

.structured-list input:focus,
.structured-list textarea:focus {
    border-color: var(--au-gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.form-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.dark-glass {
    background: rgba(0, 72, 128, 0.05);
    border-color: rgba(0, 72, 128, 0.1);
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--au-navy);
    margin-left: 5px;
}

.premium-form input,
.premium-form textarea {
    background: white;
    border: 1px solid #e0e6ed;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #333;
    font-family: 'Outfit', sans-serif;
    /* Cleaner font for inputs */
    transition: all 0.3s;
}

.premium-form textarea {
    line-height: 1.5;
}

.premium-form input::placeholder,
.premium-form textarea::placeholder {
    color: #999;
    font-size: 0.9rem;
    font-style: normal;
    font-family: 'Outfit', sans-serif;
}

.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--au-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 52, 0.1);
}

.avesis-input-group {
    display: flex;
    gap: 10px;
}

.avesis-input-group input {
    flex: 1;
}

.p-btn-fetch {
    background: var(--au-gold);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Themes */
.navy-theme {
    background: #00488005;
}

.gold-theme {
    background: #C5A03405;
}

.section-decor {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.2;
}

.gold-blur {
    background: var(--au-gold);
    top: -100px;
    right: -100px;
}

.navy-blur {
    background: var(--au-navy);
    bottom: -100px;
    left: -100px;
}

/* Restored Footer Styles adapted for Premium */
.app-footer {
    background: var(--au-navy-dark);
    color: white;
    padding: 60px 0 40px;
    margin-top: 4rem;
}

.app-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.app-footer .row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 2rem;
}

.app-footer .col {
    color: white;
    opacity: 0.9;
}

.app-footer p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.app-footer strong {
    color: var(--au-gold);
    display: block;
    margin-bottom: 12px;
}

.app-footer .links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.app-footer .links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.app-footer .links a:hover {
    background: var(--au-gold);
    transform: translateY(-3px);
}

.app-footer .signature {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 15px;
}

/* Extra premium buttons */
.p-btn-gold {
    background: var(--au-gold);
    color: white;
}

.p-btn-navy {
    background: var(--au-navy);
    color: white;
}

.p-btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Modals & Overlays */
.premium-overlay,
.premium-cropper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 72, 128, 0.4);
    backdrop-filter: blur(8px);
}

.premium-overlay.active,
.premium-cropper.active {
    display: flex;
}

.overlay-content,
.cropper-card {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.cropper-card {
    max-width: 800px;
}

.cropper-body {
    max-height: 500px;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 12px;
}

.cropper-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.p-loader-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.p-loader-bar span {
    position: absolute;
    height: 100%;
    width: 30%;
    background: var(--au-gold);
    animation: p-loader 1.5s infinite linear;
}

@keyframes p-loader {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}

/* Premium Photo Upload UI */
.premium-photo-container {
    padding: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 52, 0.2);
}

.photo-dropzone {
    border: 2px dashed rgba(197, 160, 52, 0.4);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.photo-dropzone:hover {
    border-color: var(--au-gold);
    background: rgba(197, 160, 52, 0.05);
    transform: scale(0.99);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--au-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 72, 128, 0.2);
    transition: all 0.3s;
}

.photo-dropzone:hover .icon-circle {
    background: var(--au-gold);
    transform: rotate(15deg);
}

.dropzone-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.main-text {
    font-weight: 700;
    color: var(--au-navy);
    font-size: 1.1rem;
}

.sub-text {
    font-size: 0.8rem;
    color: #888;
}

.p-photo-preview {
    margin-top: 20px;
    max-width: 150px;
    border-radius: 15px;
    border: 3px solid var(--au-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .premium-title {
        font-size: 2.5rem;
    }

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

    .full-width,
    .half-width {
        grid-column: span 1;
    }

    .glass-card {
        padding: 30px 20px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .nav-links {
        display: none;
    }
}