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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0f1c;
    color: #ffffff;
    font-weight: 400;
}

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

/* Header */
header {
    background: rgba(10, 15, 28, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #96979c;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover {
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 17px;
}

.nav-button:hover {
    color: #fff;
}

.cta-button {
    background: linear-gradient(135deg, #133ff1, #4299e1);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(19, 63, 241, 0.3);
}

/* Hero Section - Modern Gradient Style */
.hero {
    background-color: #050505;
    height: 67vh; /* 2/3 of viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.sphere-1 {
    width: 40vw;
    height: 40vw;
    background: linear-gradient(40deg, rgba(19, 63, 241, 0.8), rgba(66, 153, 225, 0.4));
    top: -10%;
    left: -10%;
    animation: float-1 15s ease-in-out infinite alternate;
}

.sphere-2 {
    width: 45vw;
    height: 45vw;
    background: linear-gradient(240deg, rgba(19, 63, 241, 0.8), rgba(74, 144, 226, 0.4));
    bottom: -20%;
    right: -10%;
    animation: float-2 18s ease-in-out infinite alternate;
}

.sphere-3 {
    width: 30vw;
    height: 30vw;
    background: linear-gradient(120deg, rgba(55, 91, 210, 0.5), rgba(66, 153, 225, 0.3));
    top: 60%;
    left: 20%;
    animation: float-3 20s ease-in-out infinite alternate;
}

.glow {
    position: absolute;
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, rgba(19, 63, 241, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: pulse 8s infinite alternate;
    filter: blur(30px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 2;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 5;
    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)'/%3E%3C/svg%3E");
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    padding: 2rem;
    opacity: 1;
    visibility: visible;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    cursor: default;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.hero h1:hover {
    animation: glow 2s ease-in-out infinite;
}

.title-line {
    display: block;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Modern Gradient Animations */
@keyframes float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

@keyframes float-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-10%, -5%) scale(1.15);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-5%, 10%) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Add glow effect behind the image */
.visual-container::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(19, 63, 241, 0.2), transparent 70%);
    filter: blur(40px);
    animation: pulse-glow 4s ease-in-out infinite alternate;
    z-index: 1;
}



/* Pulsing glow animation */
@keyframes pulse-glow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    animation: fadeInUp 1s ease-out both;
}

.btn:nth-child(1) {
    animation-delay: 1s;
}

.btn:nth-child(2) {
    animation-delay: 1.1s;
}

.btn:nth-child(3) {
    animation-delay: 1.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #133ff1, #4299e1);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 58, 130, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(19, 63, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

/* Sections */
.section {
    padding: 80px 0 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* What is PoFG */
.what-is-pofg {
    background: linear-gradient(135deg, #000 0%, #1b2659 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background Circles */
.animated-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.circle-container {
    position: relative;
    min-width: 960px;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    overflow: visible;
}

.circle-small {
    animation: circle-scale 4s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(.6, 0, .4, 1);
    animation-delay: 0s;
    position: absolute;
    top: 200px;
    left: -50px;
    background: rgba(0, 34, 89, 0.48);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.4;
}

.circle-medium {
    animation: circle-scale 4s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(.6, 0, .4, 1);
    animation-delay: 0.4s;
    position: absolute;
    top: 50px;
    left: -200px;
   background: rgba(0, 34, 89, 0.58);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    opacity: 0.3;
}

.circle-large {
    animation: circle-scale 4s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(.6, 0, .4, 1);
    animation-delay: 0.8s;
    position: absolute;
    top: -100px;
    left: -350px;
    background: rgba(0, 34, 89, 0.68);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    opacity: 0.2;
}

.circle-xlarge {
    animation: circle-scale 4s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(.6, 0, .4, 1);
    animation-delay: 1.2s;
    position: absolute;
    top: -250px;
    left: -500px;
    background: rgba(0, 34, 89, 0.78);
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-xxlarge {
    animation: circle-scale 4s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(.6, 0, .4, 1);
    animation-delay: 1.6s;
    position: absolute;
    top: -400px;
    left: -650px;
    background: rgba(0, 34, 89, 0.88);
    width: 1500px;
    height: 1500px;
    border-radius: 50%;
    opacity: 0.1;
}

@keyframes circle-scale {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.15);
    }
}

.what-is-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.what-is-text {
    padding-right: 2rem;
}

.what-is-text .section-title {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.what-is-text .large-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.what-is-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.trust-line {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    animation: fadeInUp 2s ease-out 1s both;
}

.trust-line strong {
    color: #375bd2;
}

.what-is-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.visual-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pofg-illustration {
    max-width: 110%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    animation: float-image 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.pofg-illustration:hover {
    transform: scale(1.05) translateY(-10px);
    animation-play-state: paused;
}

/* How it Works */
.how-it-works {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(10, 15, 28, 0.75)),
        url('img/pofg-pic2.jpg');
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(55, 91, 210, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(66, 153, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Matrix Rain Effect for How It Works Section */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #375bd2, #4299e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(55, 91, 210, 0.4);
}

.step h3 {
    color: #375bd2;
    margin: 1rem 0 0.5rem 0;
}

/* Use Cases */
.use-cases {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(10, 15, 28, 0.75)),
        url('img/pofg-pic3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
    text-align: center;
}

.use-case:hover {
    transform: translateY(-5px);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.use-case-icon i {
    font-size: 2.5rem;
    color: #fff;
    margin-right: 0;
}

.use-case h3 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.use-case p {
    text-align: center;
    line-height: 1.6;
}

/* Token Utility */
.token-utility {
    background: rgba(10, 15, 28, 0.5);
}

.token-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.token-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #375bd2;
}

.token-feature h3 i,
.security-feature h3 i {
    margin-right: 8px;
    color: #375bd2;
}

/* Security */
.security {
    background: linear-gradient(125deg, #1b1438, #1b2659);
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #375bd2;
}


/* Core Modules Table */
.core-modules-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    background: rgba(55, 91, 210, 0.2);
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-col {
    padding: 0 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.module-col {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.module-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}



.module-icon.oracle {
    background: linear-gradient(135deg, #1a3ee9, #4086db);
}

.module-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.description-col {
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.95rem;
}

.example-col {
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.9rem;
}

.modules-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(55, 91, 210, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modules-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* Roadmap Table */
.roadmap-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.roadmap-table .table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 3fr;
    background: rgba(55, 91, 210, 0.2);
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-table .table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 3fr;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
    align-items: center;
}

.roadmap-table .table-row:last-child {
    border-bottom: none;
}

.roadmap-table .table-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.phase-col {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.phase-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #375bd2, #4299e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.phase-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.date-col {
    padding: 0 1rem;
    color: #4299e1;
    font-weight: 600;
    font-size: 1rem;
}

.milestone-col {
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.95rem;
}

.roadmap-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 34, 89, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 34, 89, 0.8);
}

.roadmap-footer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.roadmap-footer strong {
    color: #fff;
}

/* Responsive design for Core Modules */
@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-col {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-col:last-child {
        border-bottom: none;
    }
    
    .module-col,
    .description-col,
    .example-col {
        padding: 0.5rem 0;
    }
    
    .table-row {
        padding: 1rem;
    }
    
    .module-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .description-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .example-col {
        margin-bottom: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Slightly smaller on mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        min-width: 200px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 13px;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust gradient spheres for mobile */
    .sphere-1 {
        width: 60vw;
        height: 60vw;
    }

    .sphere-2 {
        width: 65vw;
        height: 65vw;
    }

    .sphere-3 {
        width: 40vw;
        height: 40vw;
    }

    .glow {
        width: 60vw;
        height: 50vh;
    }

    /* What is PoFG responsive */
    .what-is-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .what-is-text {
        padding-right: 0;
        order: 2;
    }

    .what-is-text .section-title {
        text-align: center;
        font-size: 2.5rem;
    }

    .what-is-visual {
        order: 1;
        height: 300px;
    }

    .pofg-illustration {
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(19, 63, 241, 0.25);
    }

    /* Responsive animated circles */
    .circle-container {
        min-width: 100%;
    }
    
    .circle-small {
        width: 200px;
        height: 200px;
        top: 150px;
        left: -100px;
    }
    
    .circle-medium {
        width: 400px;
        height: 400px;
        top: 50px;
        left: -200px;
    }
    
    .circle-large {
        width: 600px;
        height: 600px;
        top: -50px;
        left: -300px;
    }
    
    .circle-xlarge {
        width: 800px;
        height: 800px;
        top: -150px;
        left: -400px;
    }
    
    .circle-xxlarge {
        width: 1000px;
        height: 1000px;
        top: -250px;
        left: -500px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 40px rgba(19, 63, 241, 0.2);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Placeholder text styling */
.placeholder-text {
    opacity: 0.7;
    margin-top: 1rem;
}

/* Roadmap placeholder */
.roadmap {
    background: rgba(10, 15, 28, 0.5);
    text-align: center;
}

.roadmap-placeholder {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.core-modules {
    background: rgba(26, 31, 58, 0.5);
    text-align: center;
}

.modules-placeholder {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

/* Contact Form */
.contact-form-section {
    background: 
        linear-gradient(rgba(10, 15, 28, 0.85), rgba(10, 15, 28, 0.85)),
        url('img/pofg-pic4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(19, 63, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(55, 91, 210, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.contactform {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contactform input,
.contactform textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.contactform input::placeholder,
.contactform textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contactform input:focus,
.contactform textarea:focus {
    outline: none;
    border-color: #375bd2;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(55, 91, 210, 0.1);
}

.contactform textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.send-message-btn {
    align-self: flex-end;
    background: linear-gradient(135deg, #133ff1, #4299e1);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0rem;
}

.send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.send-message-btn i {
    font-size: 0.9rem;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .send-message-btn {
        align-self: stretch;
        justify-content: center;
        padding: 1.2rem;
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll .section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.2s;
}

.animate-on-scroll.animate-in .section-title {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll .section-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.4s;
}

.animate-on-scroll.animate-in .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll .step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in .step:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.animate-on-scroll.animate-in .step:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.animate-on-scroll.animate-in .step:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.animate-on-scroll.animate-in .step:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

/* Additional animations for different section elements */

/* What is PoFG section animations */
.what-is-pofg.animate-on-scroll .what-is-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out 0.2s;
}

.what-is-pofg.animate-in .what-is-text {
    opacity: 1;
    transform: translateX(0);
}

.what-is-pofg.animate-on-scroll .what-is-visual {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out 0.4s;
}

.what-is-pofg.animate-in .what-is-visual {
    opacity: 1;
    transform: translateX(0);
}

/* Core Modules and Roadmap table animations */
.animate-on-scroll .core-modules-table,
.animate-on-scroll .roadmap-table {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.animate-in .core-modules-table,
.animate-in .roadmap-table {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll .table-row {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-in .table-row:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.animate-in .table-row:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.animate-in .table-row:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.animate-in .table-row:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.animate-in .table-row:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.animate-in .table-row:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

/* Use Cases grid animations */
.animate-on-scroll .use-case {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-in .use-case:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.animate-in .use-case:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.animate-in .use-case:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.animate-in .use-case:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.animate-in .use-case:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.animate-in .use-case:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Security features animations */
.animate-on-scroll .security-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-in .security-feature:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.animate-in .security-feature:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.animate-in .security-feature:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.animate-in .security-feature:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Contact form animations */
.animate-on-scroll .contact-form-container {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.3s;
}

.animate-in .contact-form-container {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll .form-row {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-in .form-row:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.animate-in .form-row:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.animate-on-scroll .form-group.full-width {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.7s;
}

.animate-in .form-group.full-width {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll .send-message-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.8s;
}

.animate-in .send-message-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: rgba(10, 15, 28, 0.8);
    padding: 30px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #375bd2;
}




.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.footer-legal-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
}

.footer-icons-horizontal {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.footer-icons-horizontal a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-icons-horizontal a:hover {
    background: #375bd2;
    transform: translateY(-2px);
}

.footer-icons-horizontal a i {
    font-size: 15px;
    color: #ffffff;
}

/* Legal Content Modal Styles */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.legal-modal-content {
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.95), rgba(26, 31, 58, 0.95));
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.legal-modal-header {
    background: linear-gradient(135deg, #375bd2, #4299e1);
    padding: 0.8rem 2rem 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-modal-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-modal-close {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.legal-modal-body {
    padding: 0rem 2rem 2rem 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.legal-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h1 {
    font-size: 1.8rem;
    border-bottom: 2px solid #375bd2;
    padding-bottom: 0.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #4299e1;
}

.legal-content h3 {
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #375bd2;
    text-decoration: underline;
}

.legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #4299e1;
}

.legal-content pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    border-left: 4px solid #375bd2;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner i {
    font-size: 2rem;
    color: #375bd2;
    margin-bottom: 1rem;
}

.loading-spinner p {
    font-size: 1.1rem;
    margin: 0;
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

.error-message i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.error-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .legal-modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .legal-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .legal-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .legal-modal-body {
        padding: 1.5rem;
        max-height: calc(85vh - 80px);
    }
    
    .legal-content {
        font-size: 0.9rem;
    }
    
    .legal-content h1 {
        font-size: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}