@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-light: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-attachment: fixed;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 179, 0.3), transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 172, 254, 0.2), transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: headerGlow 10s linear infinite;
}

@keyframes headerGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-content {
    position: relative;
    z-index: 1;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

main section {
    padding: 80px 5%;
    margin: 40px 0;
    position: relative;
}

.intro-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 242, 255, 0.95) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.intro-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.intro-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.intro-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.intro-card .icon {
    font-size: 4em;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.intro-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #667eea;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.08) rotate(2deg);
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 4em;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.95;
    letter-spacing: 1px;
}

.materials-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.materials-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.material-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 242, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.material-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
    border-color: #667eea;
}

.material-card:hover::before {
    transform: rotate(180deg);
}

.material-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.material-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
    z-index: 1;
}

.card-details.visible {
    max-height: 800px;
}

.card-details p {
    margin: 10px 0;
    color: #333;
    line-height: 1.8;
}

.property-badge {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.9em;
    font-weight: 600;
}

.simulator-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 255, 0.95) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.simulator-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1200px) {
    .simulator-wrapper {
        grid-template-columns: 1fr;
    }
}

.simulator-main {
    position: relative;
}

#layupCanvas {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.canvas-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.layer-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.9em;
    backdrop-filter: blur(10px);
}

.simulator-controls {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.control-panel, .layup-info-panel {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.control-panel h3, .layup-info-panel h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    margin-bottom: 25px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.control-group {
    margin-bottom: 20px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.control-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #667eea, #764ba2);
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
    border: 3px solid #667eea;
}

.control-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.control-group select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.value-display {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95em;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.btn-primary, .btn-secondary, .btn-special, .btn-calculate {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.6);
}

.btn-special {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.btn-special:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
}

.layup-display {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
}

.layup-properties {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.prop-label {
    font-weight: 600;
    color: #555;
}

.prop-value {
    font-weight: 700;
    color: #667eea;
}

.properties-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.properties-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.chart-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chart-btn:hover, .chart-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.5);
}

.chart-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

#propertiesChart {
    width: 100% !important;
    height: auto !important;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 250, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.property-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin-bottom: 10px;
    background: var(--gradient-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.property-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.property-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calculator-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.calculator-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

.calculator-inputs, .calculator-results {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calculator-inputs h3, .calculator-results h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin-bottom: 25px;
    background: var(--gradient-5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calc-group {
    margin-bottom: 20px;
}

.calc-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.calc-group input[type="number"], .calc-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.calc-group input:focus, .calc-group select:focus {
    border-color: #fa709a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 112, 154, 0.1);
}

.btn-calculate {
    width: 100%;
    margin-top: 20px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(250, 112, 154, 0.4);
    font-size: 1.1em;
    padding: 18px;
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.6);
}

.results-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 10px;
    border-left: 4px solid #fa709a;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    font-weight: 700;
    color: #fa709a;
    font-family: 'Orbitron', sans-serif;
}

.stress-viz {
    margin-top: 20px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.developers-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.developers-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2em;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.developer-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.developer-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.dev-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dev-avatar-1 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.dev-avatar-2 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.dev-avatar-3 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.dev-avatar-4 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.dev-avatar-5 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.dev-avatar-6 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.dev-avatar-7 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.dev-avatar-8 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.developer-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3em;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.dev-id {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.dev-degree {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
    margin-bottom: 5px;
}

.dev-year {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

.project-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.info-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1em;
}

.quote-text {
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.contact-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 255, 0.95) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient-6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    box-shadow: 0 10px 30px rgba(48, 207, 208, 0.4);
}

.contact-info-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #333;
}

.contact-link {
    display: inline-block;
    color: #30cfd0;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #330867;
    transform: translateX(5px);
}

.contact-note {
    color: #666;
    font-style: italic;
    font-size: 0.95em;
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(48, 207, 208, 0.1) 0%, rgba(51, 8, 103, 0.1) 100%);
    border-radius: 10px;
    border-left: 3px solid #30cfd0;
}

.social-links {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-links:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.social-links h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin-bottom: 30px;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.social-icon:nth-child(1) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.social-icon:nth-child(2) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.social-icon:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.social-icon:nth-child(4) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

footer {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
    padding: 40px 5%;
    text-align: center;
    margin-top: 60px;
}

.footer-content p {
    margin: 10px 0;
    font-size: 1.1em;
}

.footer-tagline {
    opacity: 0.9;
    font-style: italic;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .intro-content h2, .materials-section h2, .properties-section h2,
    .simulator-section h2, .calculator-section h2, .developers-section h2,
    .contact-section h2 {
        font-size: 2em;
    }
    
    .materials-grid, .developers-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
}
