/* Modern Styling for i-get information CO. LTD. */

/* Variables & Design Tokens */
:root {
    --bg-darker: #040814;
    --bg-main: #080f25;
    --bg-card: rgba(13, 22, 47, 0.4);
    --bg-card-hover: rgba(20, 32, 67, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 242, 254, 0.15);
    --border-glow-hover: rgba(0, 242, 254, 0.35);
    
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-purple: #a18cd1;
    --accent-indigo: #6366f1;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    --gradient-text: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #a18cd1 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-main) 100%);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    --font-primary: 'Outfit', 'Noto Sans TC', sans-serif;
    --font-secondary: 'Montserrat', 'Noto Sans TC', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
    
    --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
    --shadow-glow-purple: 0 0 25px rgba(161, 140, 209, 0.2);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-darker);
    background-image: var(--gradient-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Background Glowing Blurs */
.bg-glow {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: 5%;
    right: -10%;
    background: var(--accent-cyan);
}

.bg-glow-2 {
    top: 40%;
    left: -15%;
    background: var(--accent-purple);
}

.bg-glow-3 {
    bottom: 10%;
    right: 5%;
    background: var(--accent-blue);
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Common Layout Elements */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 8rem 0;
}

/* Glassmorphism Panel base */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-subtle), var(--shadow-glow);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #040814;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
}

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

/* Sections General Headers */
.section-header {
    margin-bottom: 5rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 4px;
    border-left: 3px solid var(--accent-cyan);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.section-header:not(.center) .title-underline {
    margin: 0 0 1.5rem 0;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.section-header:not(.center) .section-desc {
    margin: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(4, 8, 20, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.logo-text small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: block;
    margin-top: -4px;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link.active {
    color: var(--accent-cyan);
}

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

.nav-cta-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

.desktop-only {
    display: inline-flex;
}

.mobile-only {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 8.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content .badge {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-family: var(--font-secondary);
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
}

.glowing-border {
    position: absolute;
    inset: -15px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 24px;
    opacity: 0.15;
    filter: blur(12px);
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 2;
    background: var(--bg-card);
}

/* Floating Badges in Hero */
.floating-tech-card {
    position: absolute;
    z-index: 10;
    background: rgba(13, 22, 47, 0.7);
    border: 1px solid rgba(0, 242, 254, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.1);
    animation: float-slow 6s ease-in-out infinite;
}

.tech-card-1 {
    top: 15%;
    left: -20%;
}

.tech-card-2 {
    bottom: 20%;
    right: -15%;
    animation-delay: -3s;
}

.floating-tech-card .card-icon {
    font-size: 1.5rem;
}

.floating-tech-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-tech-card p {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

.arrow-down {
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    animation: scroll-arrow 1.5s infinite;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-info-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.about-svg {
    width: 32px;
    height: 32px;
}

.about-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.about-info-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-cyan);
    margin-bottom: 1.8rem;
    transition: var(--transition-smooth);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.service-points {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-points li {
    font-size: 0.85rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.25rem;
}

.service-points li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 0.75rem;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent-purple);
}

.service-cta-card {
    grid-column: span 1;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(13, 22, 47, 0.7) 0%, rgba(161, 140, 209, 0.05) 100%);
    border: 1px dashed rgba(0, 242, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.service-cta-card:hover {
    border-style: solid;
    border-color: var(--accent-cyan);
}

.cta-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cta-card-content h3 {
    font-size: 1.6rem;
}

.cta-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Advantage Section */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.adv-card {
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.adv-num {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.adv-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.adv-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-image-box {
    position: relative;
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.project-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #131b2e 0%, #1e293b 100%);
    position: relative;
}

.placeholder-text-icon {
    font-size: 3.5rem;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 3;
}

.project-link-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-link-icon svg {
    width: 22px;
    height: 22px;
}

.project-image-box:hover .project-overlay {
    opacity: 1;
}

.project-image-box:hover .project-link-icon {
    transform: translateY(0);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-tech-tags span {
    font-size: 0.75rem;
    font-family: var(--font-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.contact-form-container {
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.required {
    color: #ff4a4a;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

select.form-control option {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

textarea.form-control {
    resize: none;
}

.error-msg {
    color: #ff4a4a;
    font-size: 0.75rem;
    display: none;
    margin-top: 0.2rem;
}

.form-group.invalid .form-control {
    border-color: #ff4a4a;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Submit Button & Spinner */
.submit-btn {
    position: relative;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(4, 8, 20, 0.3);
    border-radius: 50%;
    border-top-color: #040814;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

.submit-btn.loading .btn-text {
    visibility: hidden;
}

.submit-btn.loading .spinner {
    display: block;
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 10;
}

.success-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 420px;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.success-overlay.show .success-content {
    transform: scale(1);
}

.success-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.success-icon-box svg {
    width: 36px;
    height: 36px;
}

.success-content h3 {
    font-size: 1.8rem;
}

.success-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Info container & detail cards */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.info-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-detail-card {
    padding: 1.8rem 2rem;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.info-content p {
    font-size: 1rem;
    font-weight: 500;
}

.info-content a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-content a:hover {
    color: var(--accent-cyan);
}

.info-content small {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.2rem;
}

.info-detail-card:hover .info-icon {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
}

/* Glass Map Container */
.map-placeholder {
    height: 240px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.map-overlay {
    position: relative;
    z-index: 3;
    text-align: center;
    background: rgba(5, 8, 20, 0.7);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.map-pin {
    font-size: 2.2rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

.map-overlay h4 {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.map-overlay p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.map-dynamic-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    z-index: 1;
}

/* Footer Section */
.footer {
    background: #03060d;
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(2, 0.9fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.footer-links-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    position: relative;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-col ul a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links-col ul a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-links-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Newsletter Input Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.newsletter-form .btn {
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
}

.newsletter-form svg {
    width: 16px;
    height: 16px;
}

.newsletter-msg {
    font-size: 0.75rem;
    display: block;
    margin-top: 0.5rem;
}

.newsletter-msg.success {
    color: var(--accent-cyan);
}

.newsletter-msg.error {
    color: #ff4a4a;
}

/* Footer Bottom legal bar */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2.2rem 0;
}

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

.footer-views {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.footer-views:hover {
    color: var(--text-secondary);
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.views-icon {
    color: var(--accent-cyan);
}

.views-number {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal-links a:hover {
    color: var(--text-secondary);
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes scroll-arrow {
    0% { opacity: 0; transform: translateY(-5px) rotate(45deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(5px) rotate(45deg); }
}

/* Reveal Transitions (Scroll Animations) */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8rem cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Hero entrance delays */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fade-right-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge { animation-delay: 0.1s; }
.hero-content .hero-title { animation-delay: 0.25s; }
.hero-content .hero-subtitle { animation-delay: 0.4s; }
.hero-content .hero-actions { animation-delay: 0.55s; }
.hero-content .hero-stats { animation-delay: 0.7s; }
.hero-visual { animation-delay: 0.35s; }

@keyframes fade-up-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-right-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries & Responsiveness */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-cta-card {
        grid-column: span 2;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: inline-flex;
    }
    
    /* Hamburger & Menu Navigation */
    .nav-hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(4, 8, 20, 0.98);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 3rem;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-hamburger.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-hamburger.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .floating-tech-card {
        display: none; /* Hide floating tech badges on small mobile visual areas */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cta-card {
        grid-column: span 1;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Shang-You Bookkeeping Firm Theme Overrides */
body.shangyou-theme {
    --accent-cyan: #10b981; /* Emerald green */
    --accent-blue: #059669; /* Medium green */
    --accent-purple: #34d399; /* Mint green */
    --accent-indigo: #047857; /* Dark emerald */
    --border-glow: rgba(16, 185, 129, 0.15);
    --border-glow-hover: rgba(16, 185, 129, 0.35);
    --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
    
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-text: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
}

/* Partner and Special Nav Link styles */
.btn-partner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); /* Amber gradient representing finance */
    color: #040814;
    border: none;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.btn-partner:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.nav-link.special-link {
    color: #f59e0b !important; /* Standout color for navigation */
    font-weight: 600;
}

.nav-link.special-link:hover {
    color: #fbbf24 !important;
}
